接口 ConfigurableConversionService
- 所有超级接口:
ConversionService
,ConverterRegistry
- 所有已知实现类:
DefaultConversionService
,DefaultFormattingConversionService
,FormattingConversionService
,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.- 从以下版本开始:
- 3.1
- 作者:
- Chris Beams
- 另请参阅:
ConfigurablePropertyResolver.getConversionService()
,ConfigurableEnvironment
,ConfigurableApplicationContext.getEnvironment()
方法概要
从接口继承的方法 org.springframework.core.convert.ConversionService
canConvert, canConvert, convert, convert
从接口继承的方法 org.springframework.core.convert.converter.ConverterRegistry
addConverter, addConverter, addConverter, addConverterFactory, removeConvertible