org.springframework.config.java.valuesource
Interface ValueSource
- All Known Implementing Classes:
- AbstractStringBasedValueSource, CompositeValueSource, MessageSourceValueSource, PropertiesValueSource
public interface ValueSource
Source of strongly typed externalized values
- Author:
- Rod Johnson
resolve
<T> T resolve(String name,
Class<?> requiredType)
throws ValueResolutionException
- Parameters:
name
- name of the propertyrequiredType
- work around Java type erasure
- Throws:
ValueResolutionException
- if the property is not in the required
format or the value is not found
Copyright ? 2005-2008 Spring Framework. All Rights Reserved.