| java.lang.Object org.springframework.beans.factory.support.BeanDefinitionValueResolver
GENERATED_BEAN_NAME_SEPARATOR | final public static String GENERATED_BEAN_NAME_SEPARATOR(Code) | | Separator for generated bean names. If a class name or parent name is not
unique, "#1", "#2" etc will be appended, until the name becomes unique.
|
BeanDefinitionValueResolver | public BeanDefinitionValueResolver(AbstractBeanFactory beanFactory, String beanName, BeanDefinition beanDefinition, TypeConverter typeConverter)(Code) | | Create a BeanDefinitionValueResolver for the given BeanFactory and BeanDefinition.
Parameters: beanFactory - the BeanFactory to resolve against Parameters: beanName - the name of the bean that we work on Parameters: beanDefinition - the BeanDefinition of the bean that we work on Parameters: typeConverter - the TypeConverter to use for resolving TypedStringValues |
resolveValueIfNecessary | public Object resolveValueIfNecessary(String argName, Object value)(Code) | | Given a PropertyValue, return a value, resolving any references to other
beans in the factory if necessary. The value could be:
A BeanDefinition, which leads to the creation of a corresponding
new bean instance. Singleton flags and names of such "inner beans"
are always ignored: Inner beans are anonymous prototypes.
A RuntimeBeanReference, which must be resolved.
A ManagedList. This is a special collection that may contain
RuntimeBeanReferences or Collections that will need to be resolved.
A ManagedSet. May also contain RuntimeBeanReferences or
Collections that will need to be resolved.
A ManagedMap. In this case the value may be a RuntimeBeanReference
or Collection that will need to be resolved.
An ordinary object or null , in which case it's left alone.
Parameters: argName - the name of the argument that the value is defined for Parameters: value - the value object to resolve the resolved object |
|
|