public class MongoRepositoryFactory extends RepositoryFactorySupport
MongoRepository
instances.RepositoryFactorySupport.QueryExecutorMethodInterceptor
Constructor and Description |
---|
MongoRepositoryFactory(MongoOperations mongoOperations)
Creates a new
MongoRepositoryFactory with the given MongoOperations . |
Modifier and Type | Method and Description |
---|---|
<T,ID extends Serializable> |
getEntityInformation(Class<T> domainClass) |
protected QueryLookupStrategy |
getQueryLookupStrategy(QueryLookupStrategy.Key key) |
protected Class<?> |
getRepositoryBaseClass(RepositoryMetadata metadata) |
protected Object |
getTargetRepository(RepositoryMetadata metadata) |
addQueryCreationListener, addRepositoryProxyPostProcessor, getQueryLookupStrategy, getQueryMethods, getRepository, getRepository, getRepositoryInformation, setBeanClassLoader, setEvaluationContextProvider, setNamedQueries, setQueryLookupStrategyKey, validate
public MongoRepositoryFactory(MongoOperations mongoOperations)
MongoRepositoryFactory
with the given MongoOperations
.mongoOperations
- must not be nullprotected Class<?> getRepositoryBaseClass(RepositoryMetadata metadata)
getRepositoryBaseClass
in class RepositoryFactorySupport
protected Object getTargetRepository(RepositoryMetadata metadata)
getTargetRepository
in class RepositoryFactorySupport
protected QueryLookupStrategy getQueryLookupStrategy(QueryLookupStrategy.Key key)
getQueryLookupStrategy
in class RepositoryFactorySupport
public <T,ID extends Serializable> MongoEntityInformation<T,ID> getEntityInformation(Class<T> domainClass)
getEntityInformation
in class RepositoryFactorySupport
Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.