Class AfterConvertEvent<E>
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.data.mongodb.core.mapping.event.MongoMappingEvent<E>
org.springframework.data.mongodb.core.mapping.event.AfterConvertEvent<E>
- All Implemented Interfaces:
Serializable
MongoMappingEvent
thrown after convert of a document.- Author:
- Jon Brisbin, Christoph Strobl, Mark Paluch
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionAfterConvertEvent
(org.bson.Document document, E source, String collectionName) Creates newAfterConvertEvent
. -
Method Summary
Methods inherited from class org.springframework.data.mongodb.core.mapping.event.MongoMappingEvent
getCollectionName, getDocument, getSource
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
AfterConvertEvent
Creates newAfterConvertEvent
.- Parameters:
document
- must not be null.source
- must not be null.collectionName
- must not be null.- Since:
- 1.8
-