spring-framework / org.springframework.context.support / ConversionServiceFactoryBean / <init>

<init>

ConversionServiceFactoryBean()

A factory providing convenient access to a ConversionService configured with converters appropriate for most environments. Set the "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 org.springframework.context.annotation.Configuration classes, simply instantiate, configure and return the appropriate ConversionService object from a method.

Author
Keith Donald

Author
Juergen Hoeller

Author
Chris Beams

Since
3.0