Top Description Fields Constructors Methods
org.springframework.context.support

public Class EmbeddedValueResolutionSupport

extends Object
implements EmbeddedValueResolverAware
Class Inheritance
All Implemented Interfaces
org.springframework.context.EmbeddedValueResolverAware, org.springframework.beans.factory.Aware
Known Direct Subclasses
org.springframework.format.datetime.DateTimeFormatAnnotationFormatterFactory, org.springframework.format.datetime.standard.Jsr310DateTimeFormatAnnotationFormatterFactory, org.springframework.format.number.NumberFormatAnnotationFormatterFactory, org.springframework.format.number.money.Jsr354NumberFormatAnnotationFormatterFactory
Imports
org.springframework.context.EmbeddedValueResolverAware, org.springframework.lang.Nullable, org.springframework.util.StringValueResolver

Convenient base class for components with a need for embedded value resolution (i.e. org.springframework.context.EmbeddedValueResolverAware consumers).
Author
Juergen Hoeller
Since
4.1

Field Summary

Modifier and TypeField and Description
private StringValueResolver

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected String

Returns:

the resolved value, or always the original value if no resolver is available
resolveEmbeddedValue
(String
the value to resolve
value
)

Resolve the given embedded value through this instance's StringValueResolver.

public void
setEmbeddedValueResolver(StringValueResolver resolver)

Implements org.springframework.context.EmbeddedValueResolverAware.setEmbeddedValueResolver.

Set the StringValueResolver to use for resolving embedded definition values.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

embeddedValueResolverback to summary
private StringValueResolver embeddedValueResolver
Annotations
@Nullable

Constructor Detail

EmbeddedValueResolutionSupportback to summary
public EmbeddedValueResolutionSupport()

Method Detail

resolveEmbeddedValueback to summary
protected String resolveEmbeddedValue(String value)

Resolve the given embedded value through this instance's StringValueResolver.

Parameters
value:String

the value to resolve

Returns:String

the resolved value, or always the original value if no resolver is available

Annotations
@Nullable
See Also
setEmbeddedValueResolver
setEmbeddedValueResolverback to summary
public void setEmbeddedValueResolver(StringValueResolver resolver)

Implements org.springframework.context.EmbeddedValueResolverAware.setEmbeddedValueResolver.

Doc from org.springframework.context.EmbeddedValueResolverAware.setEmbeddedValueResolver.

Set the StringValueResolver to use for resolving embedded definition values.

Annotations
@Override