Package org.hibernate.jpa.event.spi
Interface CallbackBuilder.CallbackRegistrar
-
- All Superinterfaces:
CallbackRegistry
,java.io.Serializable
- Enclosing interface:
- CallbackBuilder
public static interface CallbackBuilder.CallbackRegistrar extends CallbackRegistry
Represents the target of JPA callback registrations as part the EntityCallbackBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
registerCallbacks(java.lang.Class entityClass, Callback[] callbacks)
Register the callback against the given entity.-
Methods inherited from interface org.hibernate.jpa.event.spi.CallbackRegistry
hasPostCreateCallbacks, hasPostRemoveCallbacks, hasPostUpdateCallbacks, hasRegisteredCallbacks, hasRegisteredCallbacks, postCreate, postLoad, postRemove, postUpdate, preCreate, preRemove, preUpdate
-
-
-
-
Method Detail
-
registerCallbacks
void registerCallbacks(java.lang.Class entityClass, Callback[] callbacks)
Register the callback against the given entity.- Parameters:
entityClass
- The entity Class to register the Callbacks againstcallbacks
- The Callbacks to register against the given entity Class
-
-