|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.beans.factory.support.AbstractBeanDefinition
Common base class for bean definitions, factoring out common functionality from RootBeanDefinition and ChildBeanDefinition.
RootBeanDefinition
,
ChildBeanDefinition
Constructor Summary | |
protected |
AbstractBeanDefinition(MutablePropertyValues pvs)
Create a new bean definition. |
Method Summary | |
ConstructorArgumentValues |
getConstructorArgumentValues()
This implementations returns null: Just RootBeanDefinitions have concrete support for constructor argument values. |
MutablePropertyValues |
getPropertyValues()
Return the PropertyValues to be applied to a new instance of the bean. |
java.lang.String |
getResourceDescription()
Return a description of the resource that this bean definition came from (for the purpose of showing context in case of errors). |
boolean |
isLazyInit()
Return whether this bean should be lazily initialized. |
boolean |
isSingleton()
Return whether this a Singleton, with a single, shared instance returned on all calls, |
void |
setLazyInit(boolean lazyInit)
Set whether this bean should be lazily initialized. |
void |
setResourceDescription(java.lang.String resourceDescription)
Set a description of the resource that this bean definition came from (for the purpose of showing context in case of errors). |
void |
setSingleton(boolean singleton)
Set if this a Singleton, with a single, shared instance returned on all calls. |
void |
validate()
Validate this bean definition. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected AbstractBeanDefinition(MutablePropertyValues pvs)
pvs
- the PropertyValues to be applied to a new instance of the beanMethod Detail |
public MutablePropertyValues getPropertyValues()
BeanDefinition
getPropertyValues
in interface BeanDefinition
public ConstructorArgumentValues getConstructorArgumentValues()
getConstructorArgumentValues
in interface BeanDefinition
public void setResourceDescription(java.lang.String resourceDescription)
public java.lang.String getResourceDescription()
BeanDefinition
getResourceDescription
in interface BeanDefinition
public void setSingleton(boolean singleton)
public boolean isSingleton()
public void setLazyInit(boolean lazyInit)
public boolean isLazyInit()
public void validate() throws BeanDefinitionValidationException
BeanDefinitionValidationException
- in case of validation failure
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |