public class LdapRepositoryFactory
extends org.springframework.data.repository.core.support.RepositoryFactorySupport
LdapRepository instances.| Constructor and Description |
|---|
LdapRepositoryFactory(org.springframework.ldap.core.LdapOperations ldapOperations)
Creates a new
LdapRepositoryFactory. |
| Modifier and Type | Method and Description |
|---|---|
<T,ID> org.springframework.data.repository.core.EntityInformation<T,ID> |
getEntityInformation(Class<T> domainClass) |
protected Optional<org.springframework.data.repository.query.QueryLookupStrategy> |
getQueryLookupStrategy(org.springframework.data.repository.query.QueryLookupStrategy.Key key,
org.springframework.data.repository.query.QueryMethodEvaluationContextProvider evaluationContextProvider) |
protected Class<?> |
getRepositoryBaseClass(org.springframework.data.repository.core.RepositoryMetadata metadata) |
protected org.springframework.data.repository.core.support.RepositoryComposition.RepositoryFragments |
getRepositoryFragments(org.springframework.data.repository.core.RepositoryMetadata metadata) |
protected org.springframework.data.repository.core.support.RepositoryComposition.RepositoryFragments |
getRepositoryFragments(org.springframework.data.repository.core.RepositoryMetadata metadata,
org.springframework.ldap.core.LdapOperations operations)
Creates
RepositoryComposition.RepositoryFragments based on RepositoryMetadata to add LDAP-specific extensions. |
protected Object |
getTargetRepository(org.springframework.data.repository.core.RepositoryInformation information) |
addInvocationListener, addQueryCreationListener, addRepositoryProxyPostProcessor, getProjectionFactory, getProjectionFactory, getQueryMethods, getRepository, getRepository, getRepository, getRepositoryInformation, getRepositoryMetadata, getTargetRepositoryViaReflection, getTargetRepositoryViaReflection, instantiateClass, setBeanClassLoader, setBeanFactory, setEvaluationContextProvider, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, validatepublic LdapRepositoryFactory(org.springframework.ldap.core.LdapOperations ldapOperations)
LdapRepositoryFactory.ldapOperations - must not be null.public <T,ID> org.springframework.data.repository.core.EntityInformation<T,ID> getEntityInformation(Class<T> domainClass)
getEntityInformation in class org.springframework.data.repository.core.support.RepositoryFactorySupportprotected Class<?> getRepositoryBaseClass(org.springframework.data.repository.core.RepositoryMetadata metadata)
getRepositoryBaseClass in class org.springframework.data.repository.core.support.RepositoryFactorySupportprotected org.springframework.data.repository.core.support.RepositoryComposition.RepositoryFragments getRepositoryFragments(org.springframework.data.repository.core.RepositoryMetadata metadata)
getRepositoryFragments in class org.springframework.data.repository.core.support.RepositoryFactorySupportprotected org.springframework.data.repository.core.support.RepositoryComposition.RepositoryFragments getRepositoryFragments(org.springframework.data.repository.core.RepositoryMetadata metadata,
org.springframework.ldap.core.LdapOperations operations)
RepositoryComposition.RepositoryFragments based on RepositoryMetadata to add LDAP-specific extensions. Typically,
adds a QuerydslLdapPredicateExecutor if the repository interface uses Querydsl.
Can be overridden by subclasses to customize RepositoryComposition.RepositoryFragments.
metadata - repository metadata.operations - the LDAP operations manager.protected Object getTargetRepository(org.springframework.data.repository.core.RepositoryInformation information)
getTargetRepository in class org.springframework.data.repository.core.support.RepositoryFactorySupportprotected Optional<org.springframework.data.repository.query.QueryLookupStrategy> getQueryLookupStrategy(@Nullable org.springframework.data.repository.query.QueryLookupStrategy.Key key, org.springframework.data.repository.query.QueryMethodEvaluationContextProvider evaluationContextProvider)
getQueryLookupStrategy in class org.springframework.data.repository.core.support.RepositoryFactorySupportCopyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.