Class AfterConvertEvent<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.AfterConvertEvent<E>
- All Implemented Interfaces:
Serializable, ResolvableTypeProvider, RelationalEvent<E>, WithEntity<E>
Gets published after instantiation and setting of all the properties of an entity. If you want to mutate an entity
after loading, use
AfterConvertCallback.- Since:
- 2.3
- Author:
- Jens Schauder
- See Also:
-
Field Summary
Fields inherited from class EventObject
source -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class RelationalEventWithEntity
getEntity, getTypeMethods inherited from class ApplicationEvent
getTimestampMethods inherited from class EventObject
getSource, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface RelationalEvent
getResolvableType
-
Constructor Details
-
AfterConvertEvent
- Parameters:
entity- the newly instantiated entity. Must not be null.
-