Class TestContextSourceFactoryBean
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<org.springframework.ldap.core.ContextSource>
org.springframework.ldap.test.unboundid.TestContextSourceFactoryBean
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanClassLoaderAware
,org.springframework.beans.factory.BeanFactoryAware
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.FactoryBean<org.springframework.ldap.core.ContextSource>
,org.springframework.beans.factory.InitializingBean
public class TestContextSourceFactoryBean
extends org.springframework.beans.factory.config.AbstractFactoryBean<org.springframework.ldap.core.ContextSource>
-
Field Summary
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.ldap.core.ContextSource
protected void
destroyInstance
(org.springframework.ldap.core.ContextSource instance) Class<org.springframework.ldap.core.ContextSource>
void
setAuthenticationSource
(org.springframework.ldap.core.AuthenticationSource authenticationSource) void
setBaseOnTarget
(boolean baseOnTarget) void
setContextSource
(org.springframework.ldap.core.ContextSource contextSource) void
setDefaultPartitionName
(String defaultPartitionName) void
setDefaultPartitionSuffix
(String defaultPartitionSuffix) void
setDirObjectFactory
(Class<? extends DirObjectFactory> dirObjectFactory) void
setLdifFile
(org.springframework.core.io.Resource ldifFile) void
setPassword
(String password) void
setPooled
(boolean pooled) void
setPort
(int port) void
setPrincipal
(String principal) Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Constructor Details
-
TestContextSourceFactoryBean
public TestContextSourceFactoryBean()
-
-
Method Details
-
setAuthenticationSource
public void setAuthenticationSource(org.springframework.ldap.core.AuthenticationSource authenticationSource) -
setPooled
public void setPooled(boolean pooled) -
setDirObjectFactory
-
setLdifFile
public void setLdifFile(org.springframework.core.io.Resource ldifFile) -
setBaseOnTarget
public void setBaseOnTarget(boolean baseOnTarget) -
setDefaultPartitionSuffix
-
setPrincipal
-
setPassword
-
setDefaultPartitionName
-
setPort
public void setPort(int port) -
setContextSource
public void setContextSource(org.springframework.ldap.core.ContextSource contextSource) -
createInstance
- Specified by:
createInstance
in classorg.springframework.beans.factory.config.AbstractFactoryBean<org.springframework.ldap.core.ContextSource>
- Throws:
Exception
-
getObjectType
- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean<org.springframework.ldap.core.ContextSource>
- Specified by:
getObjectType
in classorg.springframework.beans.factory.config.AbstractFactoryBean<org.springframework.ldap.core.ContextSource>
-
destroyInstance
protected void destroyInstance(org.springframework.ldap.core.ContextSource instance) throws Exception - Overrides:
destroyInstance
in classorg.springframework.beans.factory.config.AbstractFactoryBean<org.springframework.ldap.core.ContextSource>
- Throws:
Exception
-