Subversion Repositories WebE

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
33 PointedEar 1
/* $Id: PreUpdate.java 11282 2007-03-14 22:05:59Z epbernard $
2
 * JBoss Inc
3
 *
4
 * Distributable under LGPL license.
5
 * See terms of license at gnu.org.
6
 */
7
 
8
package javax.persistence;
9
 
10
import java.lang.annotation.ElementType;
11
import java.lang.annotation.Retention;
12
import java.lang.annotation.RetentionPolicy;
13
import java.lang.annotation.Target;
14
 
15
 
16
/**
17
 * Is used to specify callback methods for the corresponding lifecycle event. This annotation may be
18
 * applied to methods of an entity class, a mapped superclass, or a callback listener class.
19
 *
20
 * @author <a href="mailto:bill@jboss.org">Bill Burke</a>
21
 */
22
@Target({ElementType.METHOD})
23
@Retention(RetentionPolicy.RUNTIME)
24
public @interface PreUpdate {
25
}