Top Methods
org.hibernate.jpa.event.spi

public Interface CallbackRegistrar

extends CallbackRegistry
Known Direct Subinterfaces
org.hibernate.jpa.event.internal.CallbackRegistryImplementor, org.hibernate.jpa.event.spi.CallbackBuilder.CallbackRegistrar

Method Summary

Modifier and TypeMethod and Description
public void
registerCallbacks(Class<T>
The entity Class to register the Callbacks against
entityClass
,
Callback[]
The Callbacks to register against the given entity Class
callbacks
)

Register the callback against the given entity.

Inherited from org.hibernate.jpa.event.spi.CallbackRegistry:
hasPostCreateCallbackshasPostRemoveCallbackshasPostUpdateCallbackshasRegisteredCallbackshasRegisteredCallbackspostCreatepostLoadpostRemovepostUpdatepreCreatepreRemovepreUpdate

Method Detail

registerCallbacksback to summary
public void registerCallbacks(Class<T> entityClass, Callback[] callbacks)

Register the callback against the given entity.

Parameters
entityClass:Class<T>

The entity Class to register the Callbacks against

callbacks:Callback[]

The Callbacks to register against the given entity Class