org.springframework.data.document.mongodb.mapping.event
Class AbstractMappingEventListener<T extends ApplicationEvent,E>
java.lang.Object
org.springframework.data.document.mongodb.mapping.event.AbstractMappingEventListener<T,E>
- Direct Known Subclasses:
- LoggingEventListener
public abstract class AbstractMappingEventListener<T extends ApplicationEvent,E>
- extends java.lang.Object
- Author:
- Jon Brisbin
Field Summary |
protected Log |
log
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final Log log
AbstractMappingEventListener
public AbstractMappingEventListener()
onApplicationEvent
public void onApplicationEvent(T appEvent)
onBeforeConvert
public void onBeforeConvert(E source)
onBeforeSave
public void onBeforeSave(E source,
DBObject dbo)
onAfterSave
public void onAfterSave(E source,
DBObject dbo)
onAfterLoad
public void onAfterLoad(DBObject dbo)
onAfterConvert
public void onAfterConvert(DBObject dbo,
E source)