package org.theonefx.wcframework.ioc.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * @File : Inject.java * @ClassName : Inject * @Author : 陈曦 * @Date : 2011-6-30 下午08:14:21 * @Version : v1.0 * @Description : autoType为自动注入策略,分为:不自动注入、根据名称、根据类型。在AnnoInjectPostProcess里处理 */ @Target({ElementType.METHOD,ElementType.FIELD}) @Retention(RetentionPolicy.RUNTIME) public @interface Inject { public String value() default ""; public AutoInjectType autoType() default AutoInjectType.All; }