Class AfterLoadEvent<E>
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.data.relational.core.mapping.event.AbstractRelationalEvent<E>
org.springframework.data.relational.core.mapping.event.RelationalEventWithEntity<E>
org.springframework.data.relational.core.mapping.event.AfterLoadEvent<E>
- All Implemented Interfaces:
Serializable
,RelationalEvent<E>
,WithEntity<E>
Deprecated.
Gets published after instantiation and setting of all the properties of an entity. If you want to mutate an entity
after loading, use
AfterConvertCallback
.- Author:
- Jens Schauder
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.springframework.data.relational.core.mapping.event.RelationalEventWithEntity
getEntity, getType
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
AfterLoadEvent
Deprecated.- Parameters:
entity
- the newly instantiated entity. Must not be null.
-
AfterConvertEvent
instead.