DATAKV-153 - Adapt API in KeyValueRepositoryFactoryBean.

Related ticket: DATACMNS-891.
This commit is contained in:
Oliver Gierke
2016-12-15 15:46:54 +01:00
parent e0380b0ac3
commit 33ac8d5fab
2 changed files with 13 additions and 24 deletions

View File

@@ -41,6 +41,15 @@ public class KeyValueRepositoryFactoryBean<T extends Repository<S, ID>, S, ID ex
private Class<? extends AbstractQueryCreator<?, ?>> queryCreator;
private Class<? extends RepositoryQuery> repositoryQueryType;
/**
* Creates a new {@link KeyValueRepositoryFactoryBean} for the given repository interface.
*
* @param repositoryInterface must not be {@literal null}.
*/
public KeyValueRepositoryFactoryBean(Class<? extends T> repositoryInterface) {
super(repositoryInterface);
}
/**
* Configures the {@link KeyValueOperations} to be used for the repositories.
*