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

pack-priv final Class EmptyCallbackRegistryImpl

extends Object
implements CallbackRegistry
Class Inheritance
All Implemented Interfaces
org.hibernate.jpa.event.spi.CallbackRegistry
Imports
org.hibernate.jpa.event.spi.CallbackRegistry, .CallbackType

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public boolean
hasRegisteredCallbacks(final Class<?>
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 void
public boolean
public void
public void
public void
public void
public boolean
public void
release()

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

Signals that the CallbackRegistry will no longer be used.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

EmptyCallbackRegistryImplback to summary
pack-priv EmptyCallbackRegistryImpl()

Method Detail

hasRegisteredCallbacksback to summary
public boolean hasRegisteredCallbacks(final Class<?> 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<?>

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
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
releaseback to summary
public void release()

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

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

Signals that the CallbackRegistry will no longer be used. In particular, it is important to release references to class types to avoid classloader leaks.

Annotations
@Override