Spring Data Document

org.springframework.data.mongodb.core.mapping.event
Class MongoMappingEvent<T>

java.lang.Object
  extended by java.util.EventObject
      extended by org.springframework.context.ApplicationEvent
          extended by org.springframework.data.mongodb.core.mapping.event.MongoMappingEvent<T>
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AfterConvertEvent, AfterLoadEvent, AfterSaveEvent, BeforeConvertEvent, BeforeSaveEvent

public class MongoMappingEvent<T>
extends ApplicationEvent

Author:
Jon Brisbin <[email protected]>
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
MongoMappingEvent(T source, DBObject dbo)
           
 
Method Summary
 DBObject getDBObject()
           
 T getSource()
           
 
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
 
Methods inherited from class java.util.EventObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MongoMappingEvent

public MongoMappingEvent(T source,
                         DBObject dbo)
Method Detail

getDBObject

public DBObject getDBObject()

getSource

public T getSource()
Overrides:
getSource in class EventObject

Spring Data Document

Copyright © 2012. All Rights Reserved.