Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
33 | PointedEar | 1 | /* |
2 | * JBoss, the OpenSource J2EE webOS |
||
3 | * |
||
4 | * Distributable under LGPL license. |
||
5 | * See terms of license at gnu.org. |
||
6 | */ |
||
7 | package javax.persistence; |
||
8 | |||
9 | import java.lang.annotation.ElementType; |
||
10 | import java.lang.annotation.Retention; |
||
11 | import java.lang.annotation.RetentionPolicy; |
||
12 | import java.lang.annotation.Target; |
||
13 | |||
14 | |||
15 | /** |
||
16 | * Specifies the callback listener classes to be used for an entity or mapped superclass. |
||
17 | * This annotation may be applied to an entity class or mapped superclass. |
||
18 | * |
||
19 | * @author <a href="mailto:bill@jboss.org">Bill Burke</a> |
||
20 | */ |
||
21 | @Target({ElementType.TYPE}) |
||
22 | @Retention(RetentionPolicy.RUNTIME) |
||
23 | public @interface EntityListeners { |
||
24 | /** |
||
25 | * The callback listener classes |
||
26 | */ |
||
27 | Class[] value(); |
||
28 | } |