View Javadoc
1   package org.kuali.common.util.spring.convert;
2   
3   import org.kuali.common.util.serviceloader.ServiceProvider;
4   import org.springframework.core.convert.ConversionService;
5   
6   public class Conversion {
7   
8   	private static ConversionService instance;
9   
10  	public synchronized static ConversionService getDefaultConversionService() {
11  		if (instance == null) {
12  			instance = ServiceProvider.getFirst(ConversionService.class);
13  		}
14  		return instance;
15  	}
16  
17  }