public interface JpaCallbackClass
Modifier and Type | Method and Description |
---|---|
String |
getCallbackMethod(Class<?> callbackType) |
String |
getName() |
boolean |
isListener() |
String getCallbackMethod(Class<?> 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 © 2012 JBoss by Red Hat. All Rights Reserved.