public class AuditApplicationEvent
extends org.springframework.context.ApplicationEvent
ApplicationEvent to encapsulate AuditEvents.source| Constructor and Description |
|---|
AuditApplicationEvent(AuditEvent auditEvent)
Create a new
AuditApplicationEvent that wraps the specified
AuditEvent. |
AuditApplicationEvent(Date timestamp,
String principal,
String type,
Map<String,Object> data)
Create a new
AuditApplicationEvent that wraps a newly created
AuditEvent. |
AuditApplicationEvent(String principal,
String type,
Map<String,Object> data)
Create a new
AuditApplicationEvent that wraps a newly created
AuditEvent. |
AuditApplicationEvent(String principal,
String type,
String... data)
Create a new
AuditApplicationEvent that wraps a newly created
AuditEvent. |
| Modifier and Type | Method and Description |
|---|---|
AuditEvent |
getAuditEvent()
Get the audit event.
|
getSource, toStringpublic AuditApplicationEvent(String principal, String type, Map<String,Object> data)
AuditApplicationEvent that wraps a newly created
AuditEvent.principal - the principaltype - the event typedata - the event dataAuditEvent.AuditEvent(String, String, Map)public AuditApplicationEvent(String principal, String type, String... data)
AuditApplicationEvent that wraps a newly created
AuditEvent.principal - the principaltype - the event typedata - the event dataAuditEvent.AuditEvent(String, String, String...)public AuditApplicationEvent(Date timestamp, String principal, String type, Map<String,Object> data)
AuditApplicationEvent that wraps a newly created
AuditEvent.timestamp - the time stampprincipal - the principaltype - the event typedata - the event dataAuditEvent.AuditEvent(Date, String, String, Map)public AuditApplicationEvent(AuditEvent auditEvent)
AuditApplicationEvent that wraps the specified
AuditEvent.auditEvent - the source of this eventpublic AuditEvent getAuditEvent()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.