DATACASS-369 - Adapt API in CassandraRepositoryFactoryBean.
Related tickets: DATACMNS-891.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2013-2014 the original author or authors
|
||||
* Copyright 2013-2016 the original author or authors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -29,6 +29,7 @@ import org.springframework.util.Assert;
|
||||
*
|
||||
* @author Alex Shvid
|
||||
* @author John Blum
|
||||
* @author Oliver Gierke
|
||||
* @see java.io.Serializable
|
||||
* @see org.springframework.data.repository.Repository
|
||||
* @see org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport
|
||||
@@ -37,6 +38,15 @@ public class CassandraRepositoryFactoryBean<T extends Repository<S, ID>, S, ID e
|
||||
extends RepositoryFactoryBeanSupport<T, S, ID> {
|
||||
|
||||
private CassandraTemplate cassandraTemplate;
|
||||
|
||||
/**
|
||||
* Creates a new {@link CassandraRepositoryFactoryBean} for the given repository interface.
|
||||
*
|
||||
* @param repositoryInterface must not be {@literal null}.
|
||||
*/
|
||||
public CassandraRepositoryFactoryBean(Class<? extends T> repositoryInterface) {
|
||||
super(repositoryInterface);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected RepositoryFactorySupport createRepositoryFactory() {
|
||||
|
||||
Reference in New Issue
Block a user