public class BeanDefinitionUtils extends Object
| Constructor and Description |
|---|
BeanDefinitionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
getAttribute(String beanName,
String attributeName,
org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) |
static org.springframework.beans.PropertyValue |
getPropertyValue(String beanName,
String propertyName,
org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) |
public static org.springframework.beans.PropertyValue getPropertyValue(String beanName, String propertyName, org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
beanName - a bean definition namepropertyName - the name of the propertybeanFactory - a BeanFactoryPropertyValue for the property of the bean. Search
parent hierarchy if necessary. Return null if none is found.public static Object getAttribute(String beanName, String attributeName, org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
beanName - a bean definition nameattributeName - the name of the propertybeanFactory - a BeanFactoryCopyright © 2013. All rights reserved.