Class DocumentDefaultsDefinition
java.lang.Object
org.springframework.beans.factory.xml.DocumentDefaultsDefinition
- All Implemented Interfaces:
- BeanMetadataElement,- DefaultsDefinition
Simple JavaBean that holds the defaults specified at the 
<beans>
 level in a standard Spring XML bean definition document:
 default-lazy-init, default-autowire, etc.- Since:
- 2.0.2
- Author:
- Juergen Hoeller
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturn the default autowire setting for the document that's currently parsed.Return the default autowire-candidate pattern for the document that's currently parsed.Return the default destroy-method setting for the document that's currently parsed.Return the default init-method setting for the document that's currently parsed.Return the default lazy-init flag for the document that's currently parsed.getMerge()Return the default merge setting for the document that's currently parsed.Return the configuration sourceObjectfor this metadata element (may benull).voidsetAutowire(@Nullable String autowire) Set the default autowire setting for the document that's currently parsed.voidsetAutowireCandidates(@Nullable String autowireCandidates) Set the default autowire-candidate pattern for the document that's currently parsed.voidsetDestroyMethod(@Nullable String destroyMethod) Set the default destroy-method setting for the document that's currently parsed.voidsetInitMethod(@Nullable String initMethod) Set the default init-method setting for the document that's currently parsed.voidsetLazyInit(@Nullable String lazyInit) Set the default lazy-init flag for the document that's currently parsed.voidSet the default merge setting for the document that's currently parsed.voidSet the configuration sourceObjectfor this metadata element.
- 
Constructor Details- 
DocumentDefaultsDefinitionpublic DocumentDefaultsDefinition()
 
- 
- 
Method Details- 
setLazyInitSet the default lazy-init flag for the document that's currently parsed.
- 
getLazyInitReturn the default lazy-init flag for the document that's currently parsed.
- 
setMergeSet the default merge setting for the document that's currently parsed.
- 
getMergeReturn the default merge setting for the document that's currently parsed.
- 
setAutowireSet the default autowire setting for the document that's currently parsed.
- 
getAutowireReturn the default autowire setting for the document that's currently parsed.
- 
setAutowireCandidatesSet the default autowire-candidate pattern for the document that's currently parsed. Also accepts a comma-separated list of patterns.
- 
getAutowireCandidatesReturn the default autowire-candidate pattern for the document that's currently parsed. May also return a comma-separated list of patterns.
- 
setInitMethodSet the default init-method setting for the document that's currently parsed.
- 
getInitMethodReturn the default init-method setting for the document that's currently parsed.
- 
setDestroyMethodSet the default destroy-method setting for the document that's currently parsed.
- 
getDestroyMethodReturn the default destroy-method setting for the document that's currently parsed.
- 
setSourceSet the configuration sourceObjectfor this metadata element.The exact type of the object will depend on the configuration mechanism used. 
- 
getSourceDescription copied from interface:BeanMetadataElementReturn the configuration sourceObjectfor this metadata element (may benull).- Specified by:
- getSourcein interface- BeanMetadataElement
 
 
-