DATAES-315 - Adapt API in ElasticsearchRepositoryFactoryBean.

Related ticket: DATACMNS-891.
This commit is contained in:
Oliver Gierke 2016-12-15 15:25:17 +01:00
parent c8c3e0a5ec
commit 9754d70bfa

View File

@ -35,6 +35,15 @@ public class ElasticsearchRepositoryFactoryBean<T extends Repository<S, ID>, S,
private ElasticsearchOperations operations;
/**
* Creates a new {@link ElasticsearchRepositoryFactoryBean} for the given repository interface.
*
* @param repositoryInterface must not be {@literal null}.
*/
public ElasticsearchRepositoryFactoryBean(Class<? extends T> repositoryInterface) {
super(repositoryInterface);
}
/**
* Configures the {@link ElasticsearchOperations} to be used to create Elasticsearch repositories.
*