mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
BeanDefinitions return isSingleton()=true by default again (for CXF compatibility)
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