We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8a2dd3 commit df5bab3Copy full SHA for df5bab3
spring-framework-reference/src/beans-classpath-scanning.xml
@@ -314,7 +314,7 @@ public class FactoryMethodComponent {
314
315
// use of a custom qualifier and autowiring of method parameters
316
317
- @Bean @BeanAge(1)
+ @Bean
318
protected TestBean protectedInstance(@Qualifier("public") TestBean spouse,
319
@Value("#{privateInstance.age}") String country) {
320
TestBean tb = new TestBean("protectedInstance", 1);
0 commit comments