Top Constructors Methods
org.hibernate.jpa.event.internal

pack-priv final Class EmptyCallbackRegistryImpl

extends Object
implements CallbackRegistryImplementor
Class Inheritance
All Implemented Interfaces
org.hibernate.jpa.event.internal.CallbackRegistryImplementor, org.hibernate.jpa.event.spi.CallbackBuilder.CallbackRegistrar, org.hibernate.jpa.event.spi.CallbackRegistrar, org.hibernate.jpa.event.spi.CallbackRegistry, java.io.Serializable
Imports
org.hibernate.jpa.event.spi.Callback, .CallbackType

Deprecated

as a consequence of CallbackRegistryImplementor being deprecated. See corresponding docs for further information.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public boolean
public boolean
public boolean
public boolean
hasRegisteredCallbacks(final Class<T>
The entity Class to check against
entityClass
,
final CallbackType
The type of callback to look for
callbackType
)

Implements org.hibernate.jpa.event.spi.CallbackRegistry.hasRegisteredCallbacks.

Do we have any registered callbacks of the given type for the given entity?
public boolean
public void
public boolean
public void
public void
public void
public void
public boolean
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
)

Implements org.hibernate.jpa.event.spi.CallbackRegistrar.registerCallbacks.

Register the callback against the given entity.
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

EmptyCallbackRegistryImplback to summary
pack-priv EmptyCallbackRegistryImpl()

Method Detail

hasPostCreateCallbacksback to summary
public boolean hasPostCreateCallbacks(final Class<T> entityClass)

Implements org.hibernate.jpa.event.spi.CallbackRegistry.hasPostCreateCallbacks.

Annotations
@Override
hasPostRemoveCallbacksback to summary
public boolean hasPostRemoveCallbacks(final Class<T> entityClass)

Implements org.hibernate.jpa.event.spi.CallbackRegistry.hasPostRemoveCallbacks.

Annotations
@Override
hasPostUpdateCallbacksback to summary
public boolean hasPostUpdateCallbacks(final Class<T> entityClass)

Implements org.hibernate.jpa.event.spi.CallbackRegistry.hasPostUpdateCallbacks.

Annotations
@Override
hasRegisteredCallbacksback to summary
public boolean hasRegisteredCallbacks(final Class<T> entityClass, final CallbackType callbackType)

Implements org.hibernate.jpa.event.spi.CallbackRegistry.hasRegisteredCallbacks.

Doc from org.hibernate.jpa.event.spi.CallbackRegistry.hasRegisteredCallbacks.

Do we have any registered callbacks of the given type for the given entity?

Parameters
entityClass:Class<T>

The entity Class to check against

callbackType:CallbackType

The type of callback to look for

Returns:boolean

true indicates there are already registered callbacks of that type for that class; false indicates there are not.

Annotations
@Override
hasRegisteredCallbacksback to summary
public boolean hasRegisteredCallbacks(final Class<T> entityClass, final Class<T> annotationClass)

Implements org.hibernate.jpa.event.spi.CallbackRegistry.hasRegisteredCallbacks.

Annotations
@Override
postCreateback to summary
public void postCreate(final Object entity)

Implements org.hibernate.jpa.event.spi.CallbackRegistry.postCreate.

Annotations
@Override
postLoadback to summary
public boolean postLoad(final Object entity)

Implements org.hibernate.jpa.event.spi.CallbackRegistry.postLoad.

Annotations
@Override
postRemoveback to summary
public void postRemove(final Object entity)

Implements org.hibernate.jpa.event.spi.CallbackRegistry.postRemove.

Annotations
@Override
postUpdateback to summary
public void postUpdate(final Object entity)

Implements org.hibernate.jpa.event.spi.CallbackRegistry.postUpdate.

Annotations
@Override
preCreateback to summary
public void preCreate(final Object entity)

Implements org.hibernate.jpa.event.spi.CallbackRegistry.preCreate.

Annotations
@Override
preRemoveback to summary
public void preRemove(final Object entity)

Implements org.hibernate.jpa.event.spi.CallbackRegistry.preRemove.

Annotations
@Override
preUpdateback to summary
public boolean preUpdate(final Object entity)

Implements org.hibernate.jpa.event.spi.CallbackRegistry.preUpdate.

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

Implements org.hibernate.jpa.event.spi.CallbackRegistrar.registerCallbacks.

Doc from org.hibernate.jpa.event.spi.CallbackRegistrar.registerCallbacks.

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

Annotations
@Override
releaseback to summary
public void release()

Implements org.hibernate.jpa.event.internal.CallbackRegistryImplementor.release.

Annotations
@Override