polishing
This commit is contained in:
parent
61fcef1471
commit
01b65cd201
|
|
@ -301,7 +301,7 @@ public abstract class AopUtils {
|
||||||
* @throws org.springframework.aop.AopInvocationException in case of a reflection error
|
* @throws org.springframework.aop.AopInvocationException in case of a reflection error
|
||||||
*/
|
*/
|
||||||
public static Object invokeJoinpointUsingReflection(Object target, Method method, Object[] args)
|
public static Object invokeJoinpointUsingReflection(Object target, Method method, Object[] args)
|
||||||
throws Throwable {
|
throws Throwable {
|
||||||
|
|
||||||
// Use reflection to invoke the method.
|
// Use reflection to invoke the method.
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
|
|
@ -1095,9 +1095,8 @@ public abstract class AbstractAutowireCapableBeanFactory extends AbstractBeanFac
|
||||||
pvs.add(propertyName, bean);
|
pvs.add(propertyName, bean);
|
||||||
registerDependentBean(propertyName, beanName);
|
registerDependentBean(propertyName, beanName);
|
||||||
if (logger.isDebugEnabled()) {
|
if (logger.isDebugEnabled()) {
|
||||||
logger.debug(
|
logger.debug("Added autowiring by name from bean name '" + beanName +
|
||||||
"Added autowiring by name from bean name '" + beanName + "' via property '" + propertyName +
|
"' via property '" + propertyName + "' to bean named '" + propertyName + "'");
|
||||||
"' to bean named '" + propertyName + "'");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
@ -1147,9 +1146,8 @@ public abstract class AbstractAutowireCapableBeanFactory extends AbstractBeanFac
|
||||||
for (String autowiredBeanName : autowiredBeanNames) {
|
for (String autowiredBeanName : autowiredBeanNames) {
|
||||||
registerDependentBean(autowiredBeanName, beanName);
|
registerDependentBean(autowiredBeanName, beanName);
|
||||||
if (logger.isDebugEnabled()) {
|
if (logger.isDebugEnabled()) {
|
||||||
logger.debug(
|
logger.debug("Autowiring by type from bean name '" + beanName + "' via property '" +
|
||||||
"Autowiring by type from bean name '" + beanName + "' via property '" + propertyName +
|
propertyName + "' to bean named '" + autowiredBeanName + "'");
|
||||||
"' to bean named '" + autowiredBeanName + "'");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
autowiredBeanNames.clear();
|
autowiredBeanNames.clear();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue