org.springframework.data.mongodb.core.mapping.event
Class AfterLoadEvent<T>
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.data.mongodb.core.mapping.event.MongoMappingEvent<com.mongodb.DBObject>
org.springframework.data.mongodb.core.mapping.event.AfterLoadEvent<T>
- All Implemented Interfaces:
- Serializable
public class AfterLoadEvent<T>
- extends MongoMappingEvent<com.mongodb.DBObject>
Event to be triggered after loading DBObject
s to be mapped onto a given type.
- Author:
- Oliver Gierke, Jon Brisbin, Christoph Leiter
- See Also:
- Serialized Form
Methods inherited from class org.springframework.context.ApplicationEvent |
getTimestamp |
AfterLoadEvent
public AfterLoadEvent(com.mongodb.DBObject dbo,
Class<T> type)
- Creates a new
AfterLoadEvent
for the given DBObject
and type.
- Parameters:
dbo
- must not be null.type
- must not be null.
getType
public Class<T> getType()
- Returns the type for which the
AfterLoadEvent
shall be invoked for.
- Returns:
Copyright © 2011. All Rights Reserved.