Code example for SimpleTypeConverter

0
 * Copied from Spring Integration for purposes of reproducing 
 * {@link Spr7538Tests}. 
 */ 
class BeanFactoryTypeConverter implements TypeConverter, BeanFactoryAware {
 
	private SimpleTypeConverter delegate = new SimpleTypeConverter();
 
	private static ConversionService defaultConversionService;
 
	private ConversionService conversionService;
 
	public BeanFactoryTypeConverter() { 
		synchronized (this) {
			if (defaultConversionService == null) {
				defaultConversionService = new DefaultConversionService();
			} 
		} 
		this.conversionService = defaultConversionService;
	} 
 
Contextual code suggestions in your IDE  Get Codota for Java