Class ElasticsearchRepositoriesAutoConfiguration

java.lang.Object
org.springframework.boot.autoconfigure.data.elasticsearch.ElasticsearchRepositoriesAutoConfiguration

@AutoConfiguration @ConditionalOnClass({org.elasticsearch.client.Client.class,org.springframework.data.elasticsearch.repository.ElasticsearchRepository.class}) @ConditionalOnProperty(prefix="spring.data.elasticsearch.repositories", name="enabled", havingValue="true", matchIfMissing=true) @ConditionalOnMissingBean(org.springframework.data.elasticsearch.repository.support.ElasticsearchRepositoryFactoryBean.class) @Import(org.springframework.boot.autoconfigure.data.elasticsearch.ElasticsearchRepositoriesRegistrar.class) public class ElasticsearchRepositoriesAutoConfiguration extends Object
Auto-configuration for Spring Data's Elasticsearch Repositories.
Since:
1.1.0
Author:
Artur Konczak, Mohsin Husen
See Also:
  • EnableElasticsearchRepositories
  • Constructor Details

    • ElasticsearchRepositoriesAutoConfiguration

      public ElasticsearchRepositoriesAutoConfiguration()