1 22 package org.jboss.beans.metadata.spi.annotations; 23 24 import java.lang.annotation.Target ; 25 import java.lang.annotation.ElementType ; 26 import java.lang.annotation.Retention ; 27 import java.lang.annotation.RetentionPolicy ; 28 29 36 @Retention (RetentionPolicy.RUNTIME) 37 @Target ({ElementType.METHOD, ElementType.TYPE}) 38 public @interface Inject 39 { 40 String bean() default ""; 41 42 String property() default ""; 43 44 String state() default "Installed"; 45 46 InjectType type() default InjectType.BY_CLASS; 47 48 } 49 | Popular Tags |