1 //$Id: Proxy.java,v 1.1 2005/02/18 07:29:19 epbernard Exp $2 package org.hibernate.annotations;3 4 import static java.lang.annotation.ElementType.TYPE ;5 6 import static java.lang.annotation.RetentionPolicy.RUNTIME ;7 8 import java.lang.annotation.Target ;9 import java.lang.annotation.Retention ;10 11 /**12 * Lazy and proxy configuration of a particular class13 *14 * @author Emmanuel Bernard15 */16 @Target (TYPE) @Retention (RUNTIME)17 public @interface Proxy {18 /**19 * Whether this class is lazy or not (default to true)20 */21 boolean lazy() default true;22 23 /**24 * Proxy class or interface used. Default entity class name.25 */26 String proxyClassName() default "";27 }28