@ -258,7 +258,7 @@ public class AutowiredAnnotationBeanPostProcessor extends InstantiationAwareBean
@@ -258,7 +258,7 @@ public class AutowiredAnnotationBeanPostProcessor extends InstantiationAwareBean
}
catch(NoSuchBeanDefinitionExceptionex){
thrownewBeanCreationException(beanName,
"Cannot apply @Lookup to beans without corresponding bean definition");
"Cannot apply @Lookup to beans without corresponding bean definition");
}
}
});
@ -340,8 +340,8 @@ public class AutowiredAnnotationBeanPostProcessor extends InstantiationAwareBean
@@ -340,8 +340,8 @@ public class AutowiredAnnotationBeanPostProcessor extends InstantiationAwareBean
logger.info("Inconsistent constructor declaration on bean with name '"+beanName+
"': single autowire-marked constructor flagged as optional - "+
"this constructor is effectively required since there is no "+
"default constructor to fall back to: "+candidates.get(0));
@ -352,8 +352,8 @@ public class AutowiredAnnotationBeanPostProcessor extends InstantiationAwareBean
@@ -352,8 +352,8 @@ public class AutowiredAnnotationBeanPostProcessor extends InstantiationAwareBean
@ -445,8 +445,8 @@ public class AutowiredAnnotationBeanPostProcessor extends InstantiationAwareBean
@@ -445,8 +445,8 @@ public class AutowiredAnnotationBeanPostProcessor extends InstantiationAwareBean
logger.warn("Autowired annotation is not supported on static fields: "+field);
if(logger.isInfoEnabled()){
logger.info("Autowired annotation is not supported on static fields: "+field);
}
return;
}
@ -463,14 +463,14 @@ public class AutowiredAnnotationBeanPostProcessor extends InstantiationAwareBean
@@ -463,14 +463,14 @@ public class AutowiredAnnotationBeanPostProcessor extends InstantiationAwareBean
logger.warn("Autowired annotation is not supported on static methods: "+method);
if(logger.isInfoEnabled()){
logger.info("Autowired annotation is not supported on static methods: "+method);
}
return;
}
if(method.getParameterCount()==0){
if(logger.isWarnEnabled()){
logger.warn("Autowired annotation should only be used on methods with parameters: "+
if(logger.isInfoEnabled()){
logger.info("Autowired annotation should only be used on methods with parameters: "+
method);
}
}
@ -537,8 +537,8 @@ public class AutowiredAnnotationBeanPostProcessor extends InstantiationAwareBean
@@ -537,8 +537,8 @@ public class AutowiredAnnotationBeanPostProcessor extends InstantiationAwareBean