@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface GlobalEntityListener
Indicates that the target type should receive JPA entity lifecycle events for
all entity types. Note that this automatic global registration only works in
client-side code. For server-side code, you need to register the listener
class using entity-listener entries in persistence.xml.
- Author:
- Jonathan Fuerth