Top Description Inners Fields Constructors Methods
org.hibernate.jpa.event.internal

pack-priv final Class EmbeddableCallback

extends AbstractCallback
Class Inheritance
Imports
java.lang.reflect.InvocationTargetException, .Method, org.hibernate.jpa.event.spi.Callback, .CallbackDefinition, .CallbackType, org.hibernate.property.access.spi.Getter, org.hibernate.resource.beans.spi.ManagedBeanRegistry

Represents a JPA callback on the embeddable type
Author
Vlad Mihalcea

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
private final Method
private final Getter

Constructor Summary

AccessConstructor and Description
private
EmbeddableCallback(Getter embeddableGetter, Method callbackMethod, CallbackType callbackType)

Method Summary

Modifier and TypeMethod and Description
public boolean
performCallback(Object
Reference to the entity for which the callback is triggered.
entity
)

Implements org.hibernate.jpa.event.spi.Callback.performCallback.

Contract for performing the callback
Inherited from org.hibernate.jpa.event.internal.AbstractCallback:
getCallbackType

Field Detail

callbackMethodback to summary
private final Method callbackMethod
embeddableGetterback to summary
private final Getter embeddableGetter

Constructor Detail

EmbeddableCallbackback to summary
private EmbeddableCallback(Getter embeddableGetter, Method callbackMethod, CallbackType callbackType)

Method Detail

performCallbackback to summary
public boolean performCallback(Object entity)

Implements org.hibernate.jpa.event.spi.Callback.performCallback.

Doc from org.hibernate.jpa.event.spi.Callback.performCallback.

Contract for performing the callback

Parameters
entity:Object

Reference to the entity for which the callback is triggered.

Returns:boolean

Did a callback actually happen?

Annotations
@Override
org.hibernate.jpa.event.internal back to summary

public Class EmbeddableCallback.Definition

extends Object
implements CallbackDefinition
Class Inheritance
  • java.lang.Object
  • org.hibernate.jpa.event.internal.EmbeddableCallback.Definition
All Implemented Interfaces
org.hibernate.jpa.event.spi.CallbackDefinition, java.io.Serializable

Field Summary

Modifier and TypeField and Description
private final Method
private final CallbackType
private final Getter

Constructor Summary

AccessConstructor and Description
public
Definition(Getter embeddableGetter, Method callbackMethod, CallbackType callbackType)

Method Summary

Modifier and TypeMethod and Description
public Callback
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

callbackMethodback to summary
private final Method callbackMethod
callbackTypeback to summary
private final CallbackType callbackType
embeddableGetterback to summary
private final Getter embeddableGetter

Constructor Detail

Definitionback to summary
public Definition(Getter embeddableGetter, Method callbackMethod, CallbackType callbackType)

Method Detail

createCallbackback to summary
public Callback createCallback(ManagedBeanRegistry beanRegistry)

Implements org.hibernate.jpa.event.spi.CallbackDefinition.createCallback.

Annotations
@Override