org.springframework.beans.factory.config
Interface BeanDefinition

All Known Implementing Classes:
AbstractBeanDefinition

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.

Since:
19.03.2004
Author:
Juergen Hoeller
See Also:
ConfigurableBeanFactory.getBeanDefinition(java.lang.String), BeanFactoryPostProcessor, PropertyPlaceholderConfigurer, RootBeanDefinition, ChildBeanDefinition

Method Summary
 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.
 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).
 

Method Detail

getPropertyValues

public MutablePropertyValues getPropertyValues()
Return the PropertyValues to be applied to a new instance of the bean.


getConstructorArgumentValues

public ConstructorArgumentValues getConstructorArgumentValues()
Return the constructor argument values for this bean.


getResourceDescription

public 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).



Copyright (C) 2003-2004 The Spring Framework Project.