public class DocumentDefaultsDefinition extends java.lang.Object implements DefaultsDefinition
<beans>
level in a standard Spring XML bean definition document:
default-lazy-init
, default-autowire
, etc.Constructor and Description |
---|
DocumentDefaultsDefinition() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAutowire()
Return the default autowire setting for the document that's currently parsed.
|
java.lang.String |
getAutowireCandidates()
Return the default autowire-candidate pattern for the document that's currently parsed.
|
java.lang.String |
getDependencyCheck()
Return the default dependency-check setting for the document that's currently parsed.
|
java.lang.String |
getDestroyMethod()
Return the default destroy-method setting for the document that's currently parsed.
|
java.lang.String |
getInitMethod()
Return the default init-method setting for the document that's currently parsed.
|
java.lang.String |
getLazyInit()
Return the default lazy-init flag for the document that's currently parsed.
|
java.lang.String |
getMerge()
Return the default merge setting for the document that's currently parsed.
|
java.lang.Object |
getSource()
Return the configuration source
Object for this metadata element
(may be null ). |
void |
setAutowire(java.lang.String autowire)
Set the default autowire setting for the document that's currently parsed.
|
void |
setAutowireCandidates(java.lang.String autowireCandidates)
Set the default autowire-candidate pattern for the document that's currently parsed.
|
void |
setDependencyCheck(java.lang.String dependencyCheck)
Set the default dependency-check setting for the document that's currently parsed.
|
void |
setDestroyMethod(java.lang.String destroyMethod)
Set the default destroy-method setting for the document that's currently parsed.
|
void |
setInitMethod(java.lang.String initMethod)
Set the default init-method setting for the document that's currently parsed.
|
void |
setLazyInit(java.lang.String lazyInit)
Set the default lazy-init flag for the document that's currently parsed.
|
void |
setMerge(java.lang.String merge)
Set the default merge setting for the document that's currently parsed.
|
void |
setSource(java.lang.Object source)
Set the configuration source
Object for this metadata element. |
public void setLazyInit(java.lang.String lazyInit)
public java.lang.String getLazyInit()
public void setMerge(java.lang.String merge)
public java.lang.String getMerge()
public void setAutowire(java.lang.String autowire)
public java.lang.String getAutowire()
public void setDependencyCheck(java.lang.String dependencyCheck)
public java.lang.String getDependencyCheck()
public void setAutowireCandidates(java.lang.String autowireCandidates)
public java.lang.String getAutowireCandidates()
public void setInitMethod(java.lang.String initMethod)
public java.lang.String getInitMethod()
public void setDestroyMethod(java.lang.String destroyMethod)
public java.lang.String getDestroyMethod()
public void setSource(java.lang.Object source)
Object
for this metadata element.
The exact type of the object will depend on the configuration mechanism used.
public java.lang.Object getSource()
BeanMetadataElement
Object
for this metadata element
(may be null
).getSource
in interface BeanMetadataElement