Class CustomAuditEventRepository

  • All Implemented Interfaces:
    org.springframework.boot.actuate.audit.AuditEventRepository

    @Repository
    public class CustomAuditEventRepository
    extends Object
    implements org.springframework.boot.actuate.audit.AuditEventRepository
    An implementation of Spring Boot's AuditEventRepository.
    • Method Detail

      • find

        public List<org.springframework.boot.actuate.audit.AuditEvent> find​(String principal,
                                                                            Instant after,
                                                                            String type)
        Specified by:
        find in interface org.springframework.boot.actuate.audit.AuditEventRepository
      • add

        @Transactional(propagation=REQUIRES_NEW)
        public void add​(org.springframework.boot.actuate.audit.AuditEvent event)
        Specified by:
        add in interface org.springframework.boot.actuate.audit.AuditEventRepository