public interface JpaCallbackSource
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCallbackMethod(java.lang.Class<? extends java.lang.annotation.Annotation> callbackType) |
java.lang.String |
getName() |
boolean |
isListener() |
java.lang.String getCallbackMethod(java.lang.Class<? extends java.lang.annotation.Annotation> callbackType)
callbackType
- PrePersist
, PreRemove
, PreUpdate
, PostLoad
,
PostPersist
, PostRemove
, or PostUpdate
entity
or mapped superclass
and for the supplied callback annotation class.java.lang.String getName()
entity
or
mapped superclass
are defined. This can be either the entity/mapped superclass itself or an
entity listener
.boolean isListener()
true
if this callback class represents callbacks defined within an entity
listener
.Copyright © 2001-2019 Red Hat, Inc. All Rights Reserved.