public abstract class AbstractMongoEventListener<E> extends Object implements ApplicationListener<MongoMappingEvent<?>>
ApplicationListener
s.Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
LOG |
Constructor and Description |
---|
AbstractMongoEventListener()
Creates a new
AbstractMongoEventListener . |
Modifier and Type | Method and Description |
---|---|
void |
onAfterConvert(DBObject dbo,
E source) |
void |
onAfterLoad(DBObject dbo) |
void |
onAfterSave(E source,
DBObject dbo) |
void |
onApplicationEvent(MongoMappingEvent<?> event) |
void |
onBeforeConvert(E source) |
void |
onBeforeSave(E source,
DBObject dbo) |
public AbstractMongoEventListener()
AbstractMongoEventListener
.public void onApplicationEvent(MongoMappingEvent<?> event)
onApplicationEvent
in interface ApplicationListener<MongoMappingEvent<?>>
public void onBeforeConvert(E source)
public void onAfterLoad(DBObject dbo)
Copyright © 2012. All Rights Reserved.