File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
spring-beans/src/main/java/org/springframework/beans/factory/support
spring-context/src/main/java/org/springframework/context/annotation Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2018 the original author or authors.
2
+ * Copyright 2002-2020 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -1280,7 +1280,7 @@ protected RootBeanDefinition getMergedBeanDefinition(
1280
1280
else {
1281
1281
throw new NoSuchBeanDefinitionException (parentBeanName ,
1282
1282
"Parent name '" + parentBeanName + "' is equal to bean name '" + beanName +
1283
- "': cannot be resolved without an AbstractBeanFactory parent" );
1283
+ "': cannot be resolved without a ConfigurableBeanFactory parent" );
1284
1284
}
1285
1285
}
1286
1286
}
@@ -1295,7 +1295,7 @@ protected RootBeanDefinition getMergedBeanDefinition(
1295
1295
1296
1296
// Set default singleton scope, if not configured before.
1297
1297
if (!StringUtils .hasLength (mbd .getScope ())) {
1298
- mbd .setScope (RootBeanDefinition . SCOPE_SINGLETON );
1298
+ mbd .setScope (SCOPE_SINGLETON );
1299
1299
}
1300
1300
1301
1301
// A bean contained in a non-singleton bean cannot be a singleton itself.
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2019 the original author or authors.
2
+ * Copyright 2002-2020 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
33
33
*
34
34
* @author Chris Beams
35
35
* @since 3.1
36
- * @see EnableAspectJAutoProxy
36
+ * @see org.springframework.cache.annotation.EnableCaching
37
+ * @see org.springframework.transaction.annotation.EnableTransactionManagement
37
38
*/
38
39
public class AutoProxyRegistrar implements ImportBeanDefinitionRegistrar {
39
40
You can’t perform that action at this time.
0 commit comments