public class ReactiveCouchbaseRepositoryFactoryBean<T extends Repository<S,ID>,S,ID extends Serializable> extends RepositoryFactoryBeanSupport<T,S,ID>
OBJECT_TYPE_ATTRIBUTE| Constructor and Description |
|---|
ReactiveCouchbaseRepositoryFactoryBean(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 ReactiveCouchbaseRepositoryFactory |
getFactoryInstance(ReactiveRepositoryOperationsMapping couchbaseOperationsMapping)
Get the factory instance for the operations.
|
void |
setCouchbaseOperations(ReactiveCouchbaseOperations reactiveCouchbaseOperations)
Set the template reference.
|
void |
setReactiveCouchbaseOperationsMapping(ReactiveRepositoryOperationsMapping couchbaseOperationsMapping) |
addRepositoryFactoryCustomizer, createDefaultQueryMethodEvaluationContextProvider, getEntityInformation, getObject, getObjectType, getPersistentEntity, getQueryMethods, getRepositoryInformation, isSingleton, setApplicationEventPublisher, setBeanClassLoader, setBeanFactory, setCustomImplementation, setEvaluationContextProvider, setLazyInit, setMappingContext, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, setRepositoryFragmentspublic ReactiveCouchbaseRepositoryFactoryBean(Class<? extends T> repositoryInterface)
CouchbaseRepositoryFactoryBean for the given repository interface.repositoryInterface - must not be null.public void setCouchbaseOperations(ReactiveCouchbaseOperations reactiveCouchbaseOperations)
reactiveCouchbaseOperations - the reference to the operations template.public void setReactiveCouchbaseOperationsMapping(ReactiveRepositoryOperationsMapping couchbaseOperationsMapping)
protected RepositoryFactorySupport createRepositoryFactory()
createRepositoryFactory in class RepositoryFactoryBeanSupport<T extends Repository<S,ID>,S,ID extends Serializable>protected ReactiveCouchbaseRepositoryFactory getFactoryInstance(ReactiveRepositoryOperationsMapping couchbaseOperationsMapping)
couchbaseOperationsMapping - the reference to the template.public void afterPropertiesSet()
afterPropertiesSet in interface InitializingBeanafterPropertiesSet in class RepositoryFactoryBeanSupport<T extends Repository<S,ID>,S,ID extends Serializable>Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.