public class LdapRepositoryFactoryBean<T extends org.springframework.data.repository.Repository<S,Name>,S> extends org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport<T,S,Name>
FactoryBean to create
LdapRepository instances.OBJECT_TYPE_ATTRIBUTE| Constructor and Description |
|---|
LdapRepositoryFactoryBean(Class<? extends T> repositoryInterface)
Creates a new
LdapRepositoryFactoryBean for the given repository interface. |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected org.springframework.data.repository.core.support.RepositoryFactorySupport |
createRepositoryFactory() |
void |
setLdapOperations(org.springframework.ldap.core.LdapOperations ldapOperations) |
void |
setMappingContext(org.springframework.data.mapping.context.MappingContext<?,?> mappingContext) |
addRepositoryFactoryCustomizer, createDefaultQueryMethodEvaluationContextProvider, getEntityInformation, getObject, getObjectType, getPersistentEntity, getQueryMethods, getRepositoryInformation, isSingleton, setApplicationEventPublisher, setBeanClassLoader, setBeanFactory, setCustomImplementation, setEvaluationContextProvider, setLazyInit, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, setRepositoryFragmentspublic LdapRepositoryFactoryBean(Class<? extends T> repositoryInterface)
LdapRepositoryFactoryBean for the given repository interface.repositoryInterface - must not be null.public void setLdapOperations(org.springframework.ldap.core.LdapOperations ldapOperations)
ldapOperations - public void setMappingContext(org.springframework.data.mapping.context.MappingContext<?,?> mappingContext)
protected org.springframework.data.repository.core.support.RepositoryFactorySupport createRepositoryFactory()
public void afterPropertiesSet()
afterPropertiesSet in interface InitializingBeanafterPropertiesSet in class org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport<T extends org.springframework.data.repository.Repository<S,Name>,S,Name>Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.