|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A BeanDefinition describes a bean instance, which has property values, constructor argument values, and further information supplied by concrete implementations.
This is just a minimal interface: The main intention is to allow BeanFactoryPostProcessors (like PropertyPlaceholderConfigurer) to access and modify property values.
ConfigurableListableBeanFactory.getBeanDefinition(java.lang.String)
,
BeanFactoryPostProcessor
,
PropertyPlaceholderConfigurer
,
RootBeanDefinition
,
ChildBeanDefinition
Method Summary | |
Class |
getBeanClass()
Deprecated. Use BeanFactory's getType method instead, which properly resolves child bean definitions and asks FactoryBeans for the type of object they create. |
ConstructorArgumentValues |
getConstructorArgumentValues()
Return the constructor argument values for this bean. |
MutablePropertyValues |
getPropertyValues()
Return the PropertyValues to be applied to a new instance of the bean. |
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 |
isAbstract()
Return whether this bean is "abstract", i.e. not meant to be instantiated. |
boolean |
isLazyInit()
Return whether this bean should be lazily initialized, i.e. not eagerly instantiated on startup. |
boolean |
isSingleton()
Return whether this a Singleton, with a single, shared instance returned on all calls. |
Method Detail |
public Class getBeanClass()
BeanFactory.getType(java.lang.String)
public boolean isAbstract()
public boolean isSingleton()
public boolean isLazyInit()
public MutablePropertyValues getPropertyValues()
public ConstructorArgumentValues getConstructorArgumentValues()
public String getResourceDescription()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |