-
@Target(TYPE) @Retention(RUNTIME) public @interface EntityListeners
Specifies the callback listener classes to be used for an entity or mapped superclass. This annotation may be applied to an entity class or mapped superclass.The specified entity listener classes may have callback methods annotated
PrePersist
,PreUpdate
,PreRemove
,PostPersist
,PostUpdate
, and/orPostRemove
.- Since:
- 1.0
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.Class<?>[]
value
The callback listener classes
-