Class AbstractCouchbaseEventListener<E>
java.lang.Object
org.springframework.data.couchbase.core.mapping.event.AbstractCouchbaseEventListener<E>
- All Implemented Interfaces:
EventListener,ApplicationListener<CouchbaseMappingEvent<?>>
- Direct Known Subclasses:
LoggingEventListener,ValidatingCouchbaseEventListener
public class AbstractCouchbaseEventListener<E>
extends Object
implements ApplicationListener<CouchbaseMappingEvent<?>>
Base class to implement domain class specific
ApplicationListeners.- Author:
- Jon Brisbin, Oliver Gierke, Martin Baumgartner, Michael Nitschinger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonAfterDelete(Object source, CouchbaseDocument doc) voidonAfterSave(E source, CouchbaseDocument doc) voidonApplicationEvent(CouchbaseMappingEvent<?> event) voidonBeforeConvert(E source) voidonBeforeDelete(Object source, CouchbaseDocument doc) voidonBeforeSave(E source, CouchbaseDocument doc) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
Constructor Details
-
AbstractCouchbaseEventListener
public AbstractCouchbaseEventListener()
-
-
Method Details
-
onApplicationEvent
- Specified by:
onApplicationEventin interfaceApplicationListener<E>
-
onBeforeConvert
-
onBeforeSave
-
onAfterSave
-
onAfterDelete
-
onBeforeDelete
-