Spring Data Elasticsearch

org.springframework.data.elasticsearch.core.convert
Class MappingElasticsearchConverter

java.lang.Object
  extended by org.springframework.data.elasticsearch.core.convert.MappingElasticsearchConverter
All Implemented Interfaces:
Aware, ApplicationContextAware, ElasticsearchConverter

public class MappingElasticsearchConverter
extends Object
implements ElasticsearchConverter, ApplicationContextAware


Constructor Summary
MappingElasticsearchConverter(org.springframework.data.mapping.context.MappingContext<? extends ElasticsearchPersistentEntity<?>,ElasticsearchPersistentProperty> mappingContext)
           
 
Method Summary
 ConversionService getConversionService()
          Returns the underlying ConversionService used by the converter.
 org.springframework.data.mapping.context.MappingContext<? extends ElasticsearchPersistentEntity<?>,ElasticsearchPersistentProperty> getMappingContext()
          Returns the underlying MappingContext used by the converter.
 void setApplicationContext(ApplicationContext applicationContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappingElasticsearchConverter

public MappingElasticsearchConverter(org.springframework.data.mapping.context.MappingContext<? extends ElasticsearchPersistentEntity<?>,ElasticsearchPersistentProperty> mappingContext)
Method Detail

getMappingContext

public org.springframework.data.mapping.context.MappingContext<? extends ElasticsearchPersistentEntity<?>,ElasticsearchPersistentProperty> getMappingContext()
Description copied from interface: ElasticsearchConverter
Returns the underlying MappingContext used by the converter.

Specified by:
getMappingContext in interface ElasticsearchConverter
Returns:
never null

getConversionService

public ConversionService getConversionService()
Description copied from interface: ElasticsearchConverter
Returns the underlying ConversionService used by the converter.

Specified by:
getConversionService in interface ElasticsearchConverter
Returns:
never null.

setApplicationContext

public void setApplicationContext(ApplicationContext applicationContext)
                           throws BeansException
Specified by:
setApplicationContext in interface ApplicationContextAware
Throws:
BeansException

Spring Data Elasticsearch

Copyright © 2012-2013 BioMed Central. All Rights Reserved.