Package org.hibernate.jpa.event.internal
Class EntityCallback
java.lang.Object
org.hibernate.jpa.event.internal.EntityCallback
- All Implemented Interfaces:
Serializable
,Callback
Represents a JPA callback method declared by the entity itself.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionThe type of callback (pre-update, pre-persist, etc) handledvoid
performCallback
(Object entity) Contract for performing the callbacktoString()
-
Method Details
-
performCallback
Description copied from interface:Callback
Contract for performing the callback- Parameters:
entity
- Reference to the entity for which the callback is triggered.
-
toString
-
getCallbackType
Description copied from interface:Callback
The type of callback (pre-update, pre-persist, etc) handled- Specified by:
getCallbackType
in interfaceCallback
-