org.springframework.core.convert.support
Interface ConfigurableConversionService
-
- All Superinterfaces:
- ConversionService, ConverterRegistry
- All Known Implementing Classes:
- DefaultConversionService, GenericConversionService
public interface ConfigurableConversionService extends ConversionService, ConverterRegistry
Configuration interface to be implemented by most if not allConversionService
types. Consolidates the read-only operations exposed byConversionService
and the mutating operations ofConverterRegistry
to allow for convenient ad-hoc addition and removal ofConverters
through. The latter is particularly useful when working against aConfigurableEnvironment
instance in application context bootstrapping code.- Since:
- 3.1
- Author:
- Chris Beams
- See Also:
-
ConfigurablePropertyResolver.getConversionService()
,ConfigurableEnvironment
,org.springframework.context.ConfigurableApplicationContext#getEnvironment()
-
Method Summary
Methods inherited from interface org.springframework.core.convert.ConversionService
canConvert, canConvert, convert, convert
Methods inherited from interface org.springframework.core.convert.converter.ConverterRegistry
addConverter, addConverter, addConverter, addConverterFactory, removeConvertible