类 BeanDefinitionUtils
- java.lang.Object
- org.springframework.batch.core.configuration.xml.BeanDefinitionUtils
public class BeanDefinitionUtils extends java.lang.Object
- 从以下版本开始:
- 2.0.1
- 作者:
- Dan Garrette
构造器概要
构造器 构造器 说明 BeanDefinitionUtils()
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static java.lang.Object
getAttribute(java.lang.String beanName, java.lang.String attributeName, org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
static org.springframework.beans.PropertyValue
getPropertyValue(java.lang.String beanName, java.lang.String propertyName, org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
构造器详细资料
BeanDefinitionUtils
public BeanDefinitionUtils()
方法详细资料
getPropertyValue
public static org.springframework.beans.PropertyValue getPropertyValue(java.lang.String beanName, java.lang.String propertyName, org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
- 参数:
beanName
- a bean definition namepropertyName
- the name of the propertybeanFactory
- aBeanFactory
- 返回:
- The
PropertyValue
for the property of the bean. Search parent hierarchy if necessary. Return null if none is found.
getAttribute
public static java.lang.Object getAttribute(java.lang.String beanName, java.lang.String attributeName, org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
- 参数:
beanName
- a bean definition nameattributeName
- the name of the propertybeanFactory
- aBeanFactory
- 返回:
- The value for the attribute of the bean. Search parent hierarchy if necessary. Return null if none is found.