Skip to content

Commit 56f3a48

Browse files
committed
Merge branch '6.1.x'
# Conflicts: # spring-context/src/main/java/org/springframework/context/aot/AbstractAotProcessor.java
2 parents 8e38469 + 9f4968e commit 56f3a48

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

spring-aop/src/main/java/org/springframework/aop/framework/Advised.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2020 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -56,9 +56,9 @@ public interface Advised extends TargetClassAware {
5656

5757
/**
5858
* Determine whether the given interface is proxied.
59-
* @param intf the interface to check
59+
* @param ifc the interface to check
6060
*/
61-
boolean isInterfaceProxied(Class<?> intf);
61+
boolean isInterfaceProxied(Class<?> ifc);
6262

6363
/**
6464
* Change the {@code TargetSource} used by this {@code Advised} object.

spring-context/src/main/java/org/springframework/context/support/PostProcessorRegistrationDelegate.java

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2023 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -437,8 +437,9 @@ public Object postProcessAfterInitialization(Object bean, String beanName) {
437437
logger.warn("Bean '" + beanName + "' of type [" + bean.getClass().getName() +
438438
"] is not eligible for getting processed by all BeanPostProcessors " +
439439
"(for example: not eligible for auto-proxying). Is this bean getting eagerly " +
440-
"injected into a currently created BeanPostProcessor " + bppsInCreation + "? " +
441-
"Check the corresponding BeanPostProcessor declaration and its dependencies.");
440+
"injected/applied to a currently created BeanPostProcessor " + bppsInCreation + "? " +
441+
"Check the corresponding BeanPostProcessor declaration and its dependencies/advisors. " +
442+
"If this bean does not have to be post-processed, declare it with ROLE_INFRASTRUCTURE.");
442443
}
443444
}
444445
return bean;

spring-context/src/test/resources/org/springframework/aop/framework/autoproxy/AdvisorAutoProxyCreatorTests-common-interceptors.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</description>
1212

1313
<bean id="aapc" class="org.springframework.aop.framework.autoproxy.DefaultAdvisorAutoProxyCreator">
14-
<!-- This common interceptor will be applied always, before custom lockable advisor -->
14+
<!-- This common interceptor will be applied before the custom lockable advisor -->
1515
<property name="interceptorNames">
1616
<value>nopInterceptor</value>
1717
</property>
@@ -44,4 +44,3 @@
4444
<bean id="packageVisibleMethod" class="org.springframework.aop.framework.autoproxy.PackageVisibleMethod"/>
4545

4646
</beans>
47-

0 commit comments

Comments
 (0)