public class BeanDefinitionUtils
extends java.lang.Object
Constructor and Description |
---|
BeanDefinitionUtils() |
Modifier and Type | Method and Description |
---|---|
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) |
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
- a BeanFactory
PropertyValue
for the property of the bean. Search
parent hierarchy if necessary. Return null if none is found.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
- a BeanFactory