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

Method Summary
<T> T
resolve(String name, Class<?> requiredType)
           
 

Method Detail

resolve

<T> T resolve(String name,
              Class<?> requiredType)
          throws ValueResolutionException
Parameters:
name - name of the property
requiredType - 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.