Class AuditListener
- java.lang.Object
- org.springframework.boot.actuate.audit.listener.AbstractAuditListener
- org.springframework.boot.actuate.audit.listener.AuditListener
- All Implemented Interfaces:
EventListener
,org.springframework.context.ApplicationListener<AuditApplicationEvent>
public class AuditListener extends AbstractAuditListener
The defaultAbstractAuditListener
implementation. Listens forAuditApplicationEvent
s and stores them in aAuditEventRepository
.
Constructor Summary
Constructors Constructor Description AuditListener(AuditEventRepository auditEventRepository)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
onAuditEvent(AuditEvent event)
Methods inherited from class org.springframework.boot.actuate.audit.listener.AbstractAuditListener
onApplicationEvent
Constructor Detail
AuditListener
public AuditListener(AuditEventRepository auditEventRepository)
Method Detail
onAuditEvent
protected void onAuditEvent(AuditEvent event)
- Specified by:
onAuditEvent
in classAbstractAuditListener