DATACASS-369 - Adapt API in CassandraRepositoryFactoryBean.

Related tickets: DATACMNS-891.
This commit is contained in:
Oliver Gierke
2016-12-15 15:07:56 +01:00
parent 09ef94cc2f
commit 019588bc78

View File

@@ -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() {