1 25 26 package javax.ejb; 27 28 import static java.lang.annotation.ElementType.FIELD ; 29 import static java.lang.annotation.ElementType.METHOD ; 30 import static java.lang.annotation.ElementType.TYPE ; 31 import static java.lang.annotation.RetentionPolicy.RUNTIME ; 32 33 import java.lang.annotation.Retention ; 34 import java.lang.annotation.Target ; 35 36 42 @Target ({TYPE, METHOD, FIELD}) @Retention (RUNTIME) 43 public @interface EJB { 44 47 String name() default ""; 48 49 52 Class beanInterface() default Object .class; 53 54 57 String beanName() default ""; 58 59 62 String mappedName() default ""; 63 64 67 String description() default ""; 68 } 69 70 | Popular Tags |