public class AuditListener extends Object implements org.springframework.context.ApplicationListener<AuditApplicationEvent>
ApplicationListener that listens for AuditApplicationEvents and stores
them in a AuditEventRepository.| Constructor and Description |
|---|
AuditListener(AuditEventRepository auditEventRepository) |
| Modifier and Type | Method and Description |
|---|---|
void |
onApplicationEvent(AuditApplicationEvent event) |
public AuditListener(AuditEventRepository auditEventRepository)
public void onApplicationEvent(AuditApplicationEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<AuditApplicationEvent>Copyright © 2015 Pivotal Software, Inc.. All rights reserved.