Spring Data Document

org.springframework.data.mongodb.core.mapping.event
Class LoggingEventListener

java.lang.Object
  extended by org.springframework.data.mongodb.core.mapping.event.AbstractMongoEventListener<Object>
      extended by org.springframework.data.mongodb.core.mapping.event.LoggingEventListener
All Implemented Interfaces:
EventListener, ApplicationListener<MongoMappingEvent<?>>

public class LoggingEventListener
extends AbstractMongoEventListener<Object>

Author:
Jon Brisbin <[email protected]>

Field Summary
 
Fields inherited from class org.springframework.data.mongodb.core.mapping.event.AbstractMongoEventListener
LOG
 
Constructor Summary
LoggingEventListener()
           
 
Method Summary
 void onAfterConvert(DBObject dbo, Object source)
           
 void onAfterLoad(DBObject dbo)
           
 void onAfterSave(Object source, DBObject dbo)
           
 void onBeforeConvert(Object source)
           
 void onBeforeSave(Object source, DBObject dbo)
           
 
Methods inherited from class org.springframework.data.mongodb.core.mapping.event.AbstractMongoEventListener
onApplicationEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingEventListener

public LoggingEventListener()
Method Detail

onBeforeConvert

public void onBeforeConvert(Object source)
Overrides:
onBeforeConvert in class AbstractMongoEventListener<Object>

onBeforeSave

public void onBeforeSave(Object source,
                         DBObject dbo)
Overrides:
onBeforeSave in class AbstractMongoEventListener<Object>

onAfterSave

public void onAfterSave(Object source,
                        DBObject dbo)
Overrides:
onAfterSave in class AbstractMongoEventListener<Object>

onAfterLoad

public void onAfterLoad(DBObject dbo)
Overrides:
onAfterLoad in class AbstractMongoEventListener<Object>

onAfterConvert

public void onAfterConvert(DBObject dbo,
                           Object source)
Overrides:
onAfterConvert in class AbstractMongoEventListener<Object>

Spring Data Document

Copyright © 2012. All Rights Reserved.