Top Description Methods
jakarta.persistence

public @Interface EntityListeners

extends Annotation
Annotations
@Target:TYPE
@Retention:RUNTIME
Imports
java.lang.annotation.Target, .Retention

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/or PostRemove.

Since
1.0

Method Summary

Modifier and TypeMethod and Description
public Class<?>[]
value()

The callback listener classes

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public Class<?>[] value()

The callback listener classes