DATAREDIS-583 - Adapt API in RedisRepositoryFactoryBean.
Related tickets: DATACMNS-891.
This commit is contained in:
@@ -29,6 +29,7 @@ import org.springframework.data.repository.query.parser.AbstractQueryCreator;
|
||||
* configuration.
|
||||
*
|
||||
* @author Christoph Strobl
|
||||
* @author Oliver Gierke
|
||||
* @param <T> The repository type.
|
||||
* @param <S> The repository domain type.
|
||||
* @param <ID> The repository id type.
|
||||
@@ -37,6 +38,15 @@ import org.springframework.data.repository.query.parser.AbstractQueryCreator;
|
||||
public class RedisRepositoryFactoryBean<T extends Repository<S, ID>, S, ID extends Serializable>
|
||||
extends KeyValueRepositoryFactoryBean<T, S, ID> {
|
||||
|
||||
/**
|
||||
* Creates a new {@link RedisRepositoryFactoryBean} for the given repository interface.
|
||||
*
|
||||
* @param repositoryInterface must not be {@literal null}.
|
||||
*/
|
||||
public RedisRepositoryFactoryBean(Class<? extends T> repositoryInterface) {
|
||||
super(repositoryInterface);
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
* @see org.springframework.data.keyvalue.repository.support.KeyValueRepositoryFactoryBean#createRepositoryFactory(org.springframework.data.keyvalue.core.KeyValueOperations, java.lang.Class, java.lang.Class)
|
||||
|
||||
Reference in New Issue
Block a user