|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BeanDefinition
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 | |
---|---|
ConstructorArgumentValues |
getConstructorArgumentValues()
Return the constructor argument values for this bean, if any. |
MutablePropertyValues |
getPropertyValues()
Return the PropertyValues to be applied to a new instance of the bean, if any. |
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 |
---|
boolean isAbstract()
boolean isSingleton()
boolean isLazyInit()
MutablePropertyValues getPropertyValues()
null
ConstructorArgumentValues getConstructorArgumentValues()
null
String getResourceDescription()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |