public class CassandraRepositoryFactoryBean<T extends Repository<S,ID>,S,ID> extends RepositoryFactoryBeanSupport<T,S,ID>
FactoryBean to create CassandraRepository instances.| Constructor and Description |
|---|
CassandraRepositoryFactoryBean(Class<? extends T> repositoryInterface)
Create a new
CassandraRepositoryFactoryBean for the given repository interface. |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected RepositoryFactorySupport |
createRepositoryFactory() |
void |
setCassandraTemplate(CassandraTemplate cassandraTemplate)
Configures the
CassandraTemplate used for Cassandra data access operations. |
getEntityInformation, getObject, getObjectType, getPersistentEntity, getQueryMethods, getRepositoryInformation, isSingleton, setApplicationEventPublisher, setBeanClassLoader, setBeanFactory, setCustomImplementation, setEvaluationContextProvider, setLazyInit, setMappingContext, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, setRepositoryFragmentspublic CassandraRepositoryFactoryBean(Class<? extends T> repositoryInterface)
CassandraRepositoryFactoryBean for the given repository interface.repositoryInterface - must not be null.protected RepositoryFactorySupport createRepositoryFactory()
createRepositoryFactory in class RepositoryFactoryBeanSupport<T extends Repository<S,ID>,S,ID>public void setCassandraTemplate(CassandraTemplate cassandraTemplate)
CassandraTemplate used for Cassandra data access operations.cassandraTemplate - CassandraTemplate used to perform CRUD, Query and general data access operations
on Apache Cassandra.public void afterPropertiesSet()
afterPropertiesSet in interface InitializingBeanafterPropertiesSet in class RepositoryFactoryBeanSupport<T extends Repository<S,ID>,S,ID>Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.