javax.persistence
Annotation Type EntityListeners


@Target(value=TYPE)
@Retention(value=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.

Since:
Java Persistence 1.0

Required Element Summary
 java.lang.Class[] value
          The callback listener classes
 

Element Detail

value

public abstract java.lang.Class[] value
The callback listener classes



Submit a bug or feature

Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 10-February-2011 12:41