javax.persistence
Annotation Type EntityListeners
@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface EntityListeners
The EntityListeners annotation specifies the callback listener classes to be
used for an entity or mapped superclass. The EntityListeners annotation may
be applied to an entity class or mapped superclass.
- Since:
- EJB 3.0 version.
- Author:
- Florent Benoit
- See Also:
- EJB 3.0 specification
Required Element Summary |
java.lang.Class[] |
value
List of callback listener classes. |
value
public abstract java.lang.Class[] value
- List of callback listener classes.