BeanDefinition objects, in particular
the property values and constructor argument values contained in them,
resolving bean metadata values.
Used by PlaceholderConfigurerSupport to parse all String values
contained in a BeanDefinition, resolving any placeholders found.
BeanDefinition, BeanDefinition#getPropertyValues, BeanDefinition#getConstructorArgumentValues, PlaceholderConfigurerSupport
| Modifier and Type | Field and Description |
|---|---|
| private StringValueResolver |
| Access | Constructor and Description |
|---|---|
| public | BeanDefinitionVisitor(StringValueResolver
the StringValueResolver to apply valueResolver)Create a new BeanDefinitionVisitor, applying the specified value resolver to all bean metadata values. |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected String | Returns: the resolved String valuethe original String value strVal)Resolve the given String value, for example parsing placeholders. |
| protected Object | |
| protected void | |
| protected void | |
| public void | visitBeanDefinition(BeanDefinition
the BeanDefinition object to traverse beanDefinition)Traverse the given BeanDefinition object and the MutablePropertyValues and ConstructorArgumentValues contained in them. |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void |
| valueResolver | back to summary |
|---|---|
| private StringValueResolver valueResolver
| |
| BeanDefinitionVisitor | back to summary |
|---|---|
| public BeanDefinitionVisitor(StringValueResolver valueResolver) Create a new BeanDefinitionVisitor, applying the specified value resolver to all bean metadata values.
| |
| BeanDefinitionVisitor | back to summary |
|---|---|
| protected BeanDefinitionVisitor() Create a new BeanDefinitionVisitor for subclassing.
Subclasses need to override the | |
| resolveStringValue | back to summary |
|---|---|
| protected String resolveStringValue(String strVal) Resolve the given String value, for example parsing placeholders. | |
| resolveValue | back to summary |
|---|---|
protected Object resolveValue(Object value)
| |
| visitArray | back to summary |
|---|---|
| protected void visitArray(Object[] arrayVal) | |
| visitBeanClassName | back to summary |
|---|---|
| protected void visitBeanClassName(BeanDefinition beanDefinition) | |
| visitBeanDefinition | back to summary |
|---|---|
| public void visitBeanDefinition(BeanDefinition beanDefinition) Traverse the given BeanDefinition object and the MutablePropertyValues and ConstructorArgumentValues contained in them.
| |
| visitFactoryBeanName | back to summary |
|---|---|
| protected void visitFactoryBeanName(BeanDefinition beanDefinition) | |
| visitFactoryMethodName | back to summary |
|---|---|
| protected void visitFactoryMethodName(BeanDefinition beanDefinition) | |
| visitGenericArgumentValues | back to summary |
|---|---|
| protected void visitGenericArgumentValues(List<ConstructorArgumentValues. | |
| visitIndexedArgumentValues | back to summary |
|---|---|
| protected void visitIndexedArgumentValues(Map<Integer, ConstructorArgumentValues. | |
| visitList | back to summary |
|---|---|
protected void visitList(List<E> listVal)
| |
| visitMap | back to summary |
|---|---|
protected void visitMap(Map<?, ?> mapVal)
| |
| visitParentName | back to summary |
|---|---|
| protected void visitParentName(BeanDefinition beanDefinition) | |
| visitPropertyValues | back to summary |
|---|---|
| protected void visitPropertyValues(MutablePropertyValues pvs) | |
| visitScope | back to summary |
|---|---|
| protected void visitScope(BeanDefinition beanDefinition) | |
| visitSet | back to summary |
|---|---|
protected void visitSet(Set<E> setVal)
| |