Class LoggingEventListener
java.lang.Object
org.springframework.data.couchbase.core.mapping.event.AbstractCouchbaseEventListener<Object>
org.springframework.data.couchbase.core.mapping.event.LoggingEventListener
- All Implemented Interfaces:
EventListener
,ApplicationListener<CouchbaseMappingEvent<?>>
A
ApplicationListener
for Couchbase mapping events logging the events.- Author:
- Michael Nitschinger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onAfterDelete
(Object source, CouchbaseDocument doc) void
onAfterSave
(Object source, CouchbaseDocument doc) void
onBeforeConvert
(Object source) void
onBeforeDelete
(Object source, CouchbaseDocument doc) void
onBeforeSave
(Object source, CouchbaseDocument doc) Methods inherited from class org.springframework.data.couchbase.core.mapping.event.AbstractCouchbaseEventListener
onApplicationEvent
-
Constructor Details
-
LoggingEventListener
public LoggingEventListener()
-
-
Method Details
-
onBeforeDelete
- Overrides:
onBeforeDelete
in classAbstractCouchbaseEventListener<Object>
-
onAfterDelete
- Overrides:
onAfterDelete
in classAbstractCouchbaseEventListener<Object>
-
onAfterSave
- Overrides:
onAfterSave
in classAbstractCouchbaseEventListener<Object>
-
onBeforeSave
- Overrides:
onBeforeSave
in classAbstractCouchbaseEventListener<Object>
-
onBeforeConvert
- Overrides:
onBeforeConvert
in classAbstractCouchbaseEventListener<Object>
-