public class CouchbaseRepositoryFactoryBean<T extends Repository<S,ID>,S,ID extends Serializable> extends RepositoryFactoryBeanSupport<T,S,ID>
| Constructor and Description |
|---|
CouchbaseRepositoryFactoryBean(Class<? extends T> repositoryInterface)
Creates a new
CouchbaseRepositoryFactoryBean for the given repository interface. |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Make sure that the dependencies are set and not null.
|
protected RepositoryFactorySupport |
createRepositoryFactory()
Returns a factory instance.
|
protected CouchbaseRepositoryFactory |
getFactoryInstance(RepositoryOperationsMapping operationsMapping,
IndexManager indexManager)
Get the factory instance for the operations.
|
void |
setCouchbaseOperations(CouchbaseOperations operations)
Set the template reference.
|
void |
setCouchbaseOperationsMapping(RepositoryOperationsMapping mapping) |
void |
setIndexManager(IndexManager indexManager)
Set the IndexManager reference.
|
getEntityInformation, getObject, getObjectType, getPersistentEntity, getQueryMethods, getRepositoryInformation, isSingleton, setApplicationEventPublisher, setBeanClassLoader, setBeanFactory, setCustomImplementation, setEvaluationContextProvider, setLazyInit, setMappingContext, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, setRepositoryFragmentspublic CouchbaseRepositoryFactoryBean(Class<? extends T> repositoryInterface)
CouchbaseRepositoryFactoryBean for the given repository interface.repositoryInterface - must not be null.public void setCouchbaseOperations(CouchbaseOperations operations)
operations - the reference to the operations template.public void setCouchbaseOperationsMapping(RepositoryOperationsMapping mapping)
public void setIndexManager(IndexManager indexManager)
indexManager - the IndexManager to use.protected RepositoryFactorySupport createRepositoryFactory()
createRepositoryFactory in class RepositoryFactoryBeanSupport<T extends Repository<S,ID>,S,ID extends Serializable>protected CouchbaseRepositoryFactory getFactoryInstance(RepositoryOperationsMapping operationsMapping, IndexManager indexManager)
operationsMapping - the reference to the template.indexManager - the reference to the IndexManager.public void afterPropertiesSet()
afterPropertiesSet in interface InitializingBeanafterPropertiesSet in class RepositoryFactoryBeanSupport<T extends Repository<S,ID>,S,ID extends Serializable>Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.