public class ConversionServiceFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<org.springframework.core.convert.ConversionService>, org.springframework.beans.factory.InitializingBean
"converters" property to supplement the default converters.
 This implementation creates a DefaultConversionService.
 Subclasses may override createConversionService() in order to return
 a GenericConversionService instance of their choosing.
 
Like all FactoryBean implementations, this class is suitable for
 use when configuring a Spring application context using Spring <beans>
 XML. When configuring the container with
 @Configuration
 classes, simply instantiate, configure and return the appropriate
 ConversionService object from a @Bean method.
| Constructor and Description | 
|---|
| ConversionServiceFactoryBean() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | afterPropertiesSet() | 
| protected org.springframework.core.convert.support.GenericConversionService | createConversionService()Create the ConversionService instance returned by this factory bean. | 
| org.springframework.core.convert.ConversionService | getObject() | 
| Class<? extends org.springframework.core.convert.ConversionService> | getObjectType() | 
| boolean | isSingleton() | 
| void | setConverters(Set<?> converters)Configure the set of custom converter objects that should be added:
 implementing  Converter,ConverterFactory,
 orGenericConverter. | 
public void setConverters(Set<?> converters)
Converter,
 ConverterFactory,
 or GenericConverter.public void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanprotected org.springframework.core.convert.support.GenericConversionService createConversionService()
Creates a simple GenericConversionService instance by default.
 Subclasses may override to customize the ConversionService instance that
 gets created.
@Nullable public org.springframework.core.convert.ConversionService getObject()
getObject in interface org.springframework.beans.factory.FactoryBean<org.springframework.core.convert.ConversionService>public Class<? extends org.springframework.core.convert.ConversionService> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<org.springframework.core.convert.ConversionService>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<org.springframework.core.convert.ConversionService>