Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.springframework.config.java.valuesource
Interface ValueResolver

All Known Implementing Classes:
  AbstractStringBasedValueResolver, CompositeValueResolver, EnvironmentValueResolver, MessageSourceValueSource, PropertiesValueResolver, SystemPropertiesValueResolver

    public interface ValueResolver

Resolver of strongly typed externalized values.

Author:
  Rod Johnson, Chris Beams
See Also:
  `ExternalValue`

Method Summary
`
`<T> T`
` | `resolve(java.lang.String name, java.lang.Class<?> requiredType)` Resolves name against underlying value source, returning type specified by requiredType.

Method Detail

### resolve

    <T> T resolve(java.lang.String name,
                  java.lang.Class<?> requiredType)
              throws ValueResolutionException

  Resolves name against underlying value source, returning type specified by requiredType.

  Parameters:
    `name` - name of the value to resolve
    `requiredType` - work around Java type erasure
  Throws:
    `ValueResolutionException` - if the value is not of the required format or the value associated with name is not found

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD