public class CouchbaseRepositoryFactory extends RepositoryFactorySupport
SimpleCouchbaseRepository instances.RepositoryFactorySupport.QueryExecutorMethodInterceptor| Constructor and Description |
|---|
CouchbaseRepositoryFactory(CouchbaseOperations couchbaseOperations)
Create a new factory.
|
| Modifier and Type | Method and Description |
|---|---|
<T,ID extends Serializable> |
getEntityInformation(Class<T> domainClass)
Returns entity information based on the domain class.
|
protected QueryLookupStrategy |
getQueryLookupStrategy(QueryLookupStrategy.Key key) |
protected Class<?> |
getRepositoryBaseClass(RepositoryMetadata repositoryMetadata)
The base class for this repository.
|
protected Object |
getTargetRepository(RepositoryInformation metadata)
Returns a new Repository based on the metadata.
|
addQueryCreationListener, addRepositoryProxyPostProcessor, getQueryLookupStrategy, getQueryMethods, getRepository, getRepository, getRepositoryInformation, getRepositoryMetadata, getTargetRepositoryViaReflection, setBeanClassLoader, setEvaluationContextProvider, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, validatepublic CouchbaseRepositoryFactory(CouchbaseOperations couchbaseOperations)
couchbaseOperations - the template for the underlying actions.public <T,ID extends Serializable> CouchbaseEntityInformation<T,ID> getEntityInformation(Class<T> domainClass)
getEntityInformation in class RepositoryFactorySupportT - the value typeID - the id type.domainClass - the class for the entity.protected Object getTargetRepository(RepositoryInformation metadata)
getTargetRepository in class RepositoryFactorySupportmetadata - the repository metadata.protected Class<?> getRepositoryBaseClass(RepositoryMetadata repositoryMetadata)
getRepositoryBaseClass in class RepositoryFactorySupportrepositoryMetadata - metadata for the repository.protected QueryLookupStrategy getQueryLookupStrategy(QueryLookupStrategy.Key key)
getQueryLookupStrategy in class RepositoryFactorySupportCopyright © 2011-2015–2016 Pivotal Software, Inc.. All rights reserved.