@Lookup 这个注解代表是什么意思,找了资料没找到,
有人知道么看了下源码里面这样写
public @interface Lookup {
/**
* This annotation attribute may suggest a target bean name to look up.
* If not specified, the target bean will be resolved based on the
* annotated method's return type declaration.
*/
String value() default "";
}
但还是不太明白
代码里是这样的运用的
@Lookup
public JSONHandler getJsonHandler() {
return new JSONHandler();
}