public class AuditingEventListener extends Object implements ApplicationListener<CouchbaseMappingEvent<Object>>
| Constructor and Description |
|---|
AuditingEventListener() |
AuditingEventListener(ObjectFactory<IsNewAwareAuditingHandler> auditingHandlerFactory)
Creates a new
AuditingEventListener using the given MappingContext and AuditingHandler
provided by the given ObjectFactory. |
| Modifier and Type | Method and Description |
|---|---|
void |
onApplicationEvent(CouchbaseMappingEvent<Object> event) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforPayloadpublic AuditingEventListener()
public AuditingEventListener(ObjectFactory<IsNewAwareAuditingHandler> auditingHandlerFactory)
AuditingEventListener using the given MappingContext and AuditingHandler
provided by the given ObjectFactory. Registered in CouchbaseAuditingRegistrarauditingHandlerFactory - must not be null.public void onApplicationEvent(CouchbaseMappingEvent<Object> event)
onApplicationEvent in interface ApplicationListener<CouchbaseMappingEvent<Object>>Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.