public interface JpaCallbackSource
Modifier and Type | Method and Description |
---|---|
String |
getCallbackMethod(Class<? extends Annotation> callbackType) |
String |
getName() |
boolean |
isListener() |
String getCallbackMethod(Class<? extends Annotation> callbackType)
callbackType
- PrePersist
, PreRemove
, PreUpdate
, PostLoad
,
PostPersist
, PostRemove
, or PostUpdate
entity
or mapped superclass
and for the supplied callback annotation class.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 © 2021 JBoss by Red Hat. All rights reserved.