public class MongoRepositoryFactory
extends org.springframework.data.repository.core.support.RepositoryFactorySupport
MongoRepository instances.| 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 org.springframework.data.repository.query.QueryLookupStrategy |
getQueryLookupStrategy(org.springframework.data.repository.query.QueryLookupStrategy.Key key) |
protected Class<?> |
getRepositoryBaseClass(org.springframework.data.repository.core.RepositoryMetadata metadata) |
protected Object |
getTargetRepository(org.springframework.data.repository.core.RepositoryMetadata metadata) |
addQueryCreationListener, addRepositoryProxyPostProcessor, getQueryMethods, getRepository, getRepository, getRepositoryInformation, setBeanClassLoader, setNamedQueries, setQueryLookupStrategyKey, validatepublic MongoRepositoryFactory(MongoOperations mongoOperations)
MongoRepositoryFactory with the given MongoOperations.mongoOperations - must not be nullprotected Class<?> getRepositoryBaseClass(org.springframework.data.repository.core.RepositoryMetadata metadata)
getRepositoryBaseClass in class org.springframework.data.repository.core.support.RepositoryFactorySupportprotected Object getTargetRepository(org.springframework.data.repository.core.RepositoryMetadata metadata)
getTargetRepository in class org.springframework.data.repository.core.support.RepositoryFactorySupportprotected org.springframework.data.repository.query.QueryLookupStrategy getQueryLookupStrategy(org.springframework.data.repository.query.QueryLookupStrategy.Key key)
getQueryLookupStrategy in class org.springframework.data.repository.core.support.RepositoryFactorySupportpublic <T,ID extends Serializable> MongoEntityInformation<T,ID> getEntityInformation(Class<T> domainClass)
getEntityInformation in class org.springframework.data.repository.core.support.RepositoryFactorySupportCopyright © 2021. All rights reserved.