org.springframework.core.env
Interface ConfigurablePropertyResolver

All Superinterfaces:
PropertyResolver
All Known Subinterfaces:
ConfigurableEnvironment
All Known Implementing Classes:
AbstractEnvironment, AbstractPropertyResolver, DefaultEnvironment, DefaultPortletEnvironment, DefaultWebEnvironment, PropertySourcesPropertyResolver

public interface ConfigurablePropertyResolver
extends PropertyResolver

Configuration interface to be implemented by most if not all PropertyResolvers. Provides facilities for accessing and customizing the ConversionService used when converting property values from one type to another.

Since:
3.1
Author:
Chris Beams

Method Summary
 ConversionService getConversionService()
           
 void setConversionService(ConversionService conversionService)
          Set the ConversionService to be used when performing type conversions on properties.
 void setPlaceholderPrefix(String placeholderPrefix)
           
 void setPlaceholderSuffix(String placeholderSuffix)
           
 void setValueSeparator(String valueSeparator)
           
 
Methods inherited from interface org.springframework.core.env.PropertyResolver
containsProperty, getProperty, getProperty, getRequiredProperty, getRequiredProperty, resolvePlaceholders, resolveRequiredPlaceholders
 

Method Detail

getConversionService

ConversionService getConversionService()
Returns:
the ConversionService used when performing type conversions on properties.
See Also:
PropertyResolver.getProperty(String, Class)

setConversionService

void setConversionService(ConversionService conversionService)
Set the ConversionService to be used when performing type conversions on properties.

See Also:
PropertyResolver.getProperty(String, Class)

setPlaceholderPrefix

void setPlaceholderPrefix(String placeholderPrefix)

setPlaceholderSuffix

void setPlaceholderSuffix(String placeholderSuffix)

setValueSeparator

void setValueSeparator(String valueSeparator)