org.springframework.data.document.mongodb.mapping.event
Class LoggingEventListener<MongoMappingEvent>

java.lang.Object
  extended by org.springframework.data.document.mongodb.mapping.event.AbstractMappingEventListener
      extended by org.springframework.data.document.mongodb.mapping.event.LoggingEventListener<MongoMappingEvent>
All Implemented Interfaces:
java.util.EventListener, org.springframework.context.ApplicationListener

public class LoggingEventListener<MongoMappingEvent>
extends AbstractMappingEventListener

Author:
Jon Brisbin

Constructor Summary
LoggingEventListener()
           
 
Method Summary
 void onAfterConvert(com.mongodb.DBObject dbo, java.lang.Object source)
           
 void onAfterLoad(com.mongodb.DBObject dbo)
           
 void onAfterSave(java.lang.Object source, com.mongodb.DBObject dbo)
           
 void onBeforeConvert(java.lang.Object source)
           
 void onBeforeSave(java.lang.Object source, com.mongodb.DBObject dbo)
           
 
Methods inherited from class org.springframework.data.document.mongodb.mapping.event.AbstractMappingEventListener
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(java.lang.Object source)
Overrides:
onBeforeConvert in class AbstractMappingEventListener

onBeforeSave

public void onBeforeSave(java.lang.Object source,
                         com.mongodb.DBObject dbo)
Overrides:
onBeforeSave in class AbstractMappingEventListener

onAfterSave

public void onAfterSave(java.lang.Object source,
                        com.mongodb.DBObject dbo)
Overrides:
onAfterSave in class AbstractMappingEventListener

onAfterLoad

public void onAfterLoad(com.mongodb.DBObject dbo)
Overrides:
onAfterLoad in class AbstractMappingEventListener

onAfterConvert

public void onAfterConvert(com.mongodb.DBObject dbo,
                           java.lang.Object source)
Overrides:
onAfterConvert in class AbstractMappingEventListener


Copyright © 2011. All Rights Reserved.