Class EntityCallback

java.lang.Object
org.hibernate.jpa.event.internal.EntityCallback
All Implemented Interfaces:
Serializable, Callback

public class EntityCallback extends Object
Represents a JPA callback method declared by the entity itself.
See Also:
  • Method Details

    • performCallback

      public void performCallback(Object entity)
      Description copied from interface: Callback
      Contract for performing the callback
      Parameters:
      entity - Reference to the entity for which the callback is triggered.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getCallbackType

      public CallbackType getCallbackType()
      Description copied from interface: Callback
      The type of callback (pre-update, pre-persist, etc) handled
      Specified by:
      getCallbackType in interface Callback