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 PostUpdateentity 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 © 2001-2022 Red Hat, Inc. All Rights Reserved.