public class

DocumentDefaultsDefinition

extends Object
implements DefaultsDefinition
java.lang.Object
   ↳ org.springframework.beans.factory.xml.DocumentDefaultsDefinition

Class Overview

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.

Summary

Public Constructors
DocumentDefaultsDefinition()
Public Methods
String getAutowire()
Return the default autowire setting for the document that's currently parsed.
String getAutowireCandidates()
Return the default autowire-candidate pattern for the document that's currently parsed.
String getDependencyCheck()
Return the default dependency-check setting for the document that's currently parsed.
String getDestroyMethod()
Return the default destroy-method setting for the document that's currently parsed.
String getInitMethod()
Return the default init-method setting for the document that's currently parsed.
String getLazyInit()
Return the default lazy-init flag for the document that's currently parsed.
String getMerge()
Return the default merge setting for the document that's currently parsed.
Object getSource()
Return the configuration source Object for this metadata element (may be null).
void setAutowire(String autowire)
Set the default autowire setting for the document that's currently parsed.
void setAutowireCandidates(String autowireCandidates)
Set the default autowire-candidate pattern for the document that's currently parsed.
void setDependencyCheck(String dependencyCheck)
Set the default dependency-check setting for the document that's currently parsed.
void setDestroyMethod(String destroyMethod)
Set the default destroy-method setting for the document that's currently parsed.
void setInitMethod(String initMethod)
Set the default init-method setting for the document that's currently parsed.
void setLazyInit(String lazyInit)
Set the default lazy-init flag for the document that's currently parsed.
void setMerge(String merge)
Set the default merge setting for the document that's currently parsed.
void setSource(Object source)
Set the configuration source Object for this metadata element.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.springframework.beans.BeanMetadataElement

Public Constructors

public DocumentDefaultsDefinition ()

Also: SpringBeans

Public Methods

public String getAutowire ()

Also: SpringBeans

Return the default autowire setting for the document that's currently parsed.

public String getAutowireCandidates ()

Also: SpringBeans

Return the default autowire-candidate pattern for the document that's currently parsed. May also return a comma-separated list of patterns.

public String getDependencyCheck ()

Also: SpringBeans

Return the default dependency-check setting for the document that's currently parsed.

public String getDestroyMethod ()

Also: SpringBeans

Return the default destroy-method setting for the document that's currently parsed.

public String getInitMethod ()

Also: SpringBeans

Return the default init-method setting for the document that's currently parsed.

public String getLazyInit ()

Also: SpringBeans

Return the default lazy-init flag for the document that's currently parsed.

public String getMerge ()

Also: SpringBeans

Return the default merge setting for the document that's currently parsed.

public Object getSource ()

Also: SpringBeans

Return the configuration source Object for this metadata element (may be null).

public void setAutowire (String autowire)

Also: SpringBeans

Set the default autowire setting for the document that's currently parsed.

public void setAutowireCandidates (String autowireCandidates)

Also: SpringBeans

Set the default autowire-candidate pattern for the document that's currently parsed. Also accepts a comma-separated list of patterns.

public void setDependencyCheck (String dependencyCheck)

Also: SpringBeans

Set the default dependency-check setting for the document that's currently parsed.

public void setDestroyMethod (String destroyMethod)

Also: SpringBeans

Set the default destroy-method setting for the document that's currently parsed.

public void setInitMethod (String initMethod)

Also: SpringBeans

Set the default init-method setting for the document that's currently parsed.

public void setLazyInit (String lazyInit)

Also: SpringBeans

Set the default lazy-init flag for the document that's currently parsed.

public void setMerge (String merge)

Also: SpringBeans

Set the default merge setting for the document that's currently parsed.

public void setSource (Object source)

Also: SpringBeans

Set the configuration source Object for this metadata element.

The exact type of the object will depend on the configuration mechanism used.