Top Methods
org.hibernate.boot.model.source.spi

public Interface JpaCallbackSource

Imports
java.lang.annotation.Annotation

Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public String
public String

Returns:

the name of the instantiated container where the JPA callbacks for the associated entity or mapped superclass are defined. This can be either the entity/mapped superclass itself or an entity listener.
getName
()

public boolean

Returns:

true if this callback class represents callbacks defined within an entity listener.
isListener
()

Method Detail

getCallbackMethodback to summary
public String getCallbackMethod(Class<? extends Annotation> callbackType)
Parameters
callbackType:Class<? extends Annotation>

jakarta.persistence.PrePersist, jakarta.persistence.PreRemove, jakarta.persistence.PreUpdate, jakarta.persistence.PostLoad, jakarta.persistence.PostPersist, jakarta.persistence.PostRemove, or jakarta.persistence.PostUpdate

Returns:String

the name of the JPA callback method defined for the associated entity or mapped superclass and for the supplied callback annotation class.

getNameback to summary
public String getName()
Returns:String

the name of the instantiated container where the JPA callbacks for the associated entity or mapped superclass are defined. This can be either the entity/mapped superclass itself or an entity listener.

isListenerback to summary
public boolean isListener()
Returns:boolean

true if this callback class represents callbacks defined within an entity listener.