mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-21 21:39:05 +00:00
BeanDefinitions return isSingleton()=true by default again (for CXF compatibility)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2456 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
+2
-1
@@ -120,7 +120,7 @@ public abstract class AbstractBeanDefinition extends BeanMetadataAttributeAccess
|
||||
|
||||
private String scope;
|
||||
|
||||
private boolean singleton = false;
|
||||
private boolean singleton = true;
|
||||
|
||||
private boolean prototype = false;
|
||||
|
||||
@@ -171,6 +171,7 @@ public abstract class AbstractBeanDefinition extends BeanMetadataAttributeAccess
|
||||
|
||||
private Resource resource;
|
||||
|
||||
|
||||
/**
|
||||
* Create a new AbstractBeanDefinition with default settings.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user