Code example for DefaultConversionService

0
	private ApplicationContext applicationContext;
 
	public MappingElasticsearchConverter(MappingContext<? extends ElasticsearchPersistentEntity<?>,ElasticsearchPersistentProperty> mappingContext) {
		Assert.notNull(mappingContext);
		this.mappingContext = mappingContext;
		this.conversionService = new DefaultConversionService();
	} 
 
	@Override 
	public MappingContext<? extends ElasticsearchPersistentEntity<?>,ElasticsearchPersistentProperty> getMappingContext() { 
		return mappingContext;
	} 
 
	@Override 
	public ConversionService getConversionService() {
		return this.conversionService;
	} 
 
	@Override 
	public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {