Class TestContextSourceFactoryBean
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<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<ContextSource>
,org.springframework.beans.factory.InitializingBean
public class TestContextSourceFactoryBean
extends org.springframework.beans.factory.config.AbstractFactoryBean<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
-
Method Summary
Modifier and TypeMethodDescriptionprotected ContextSource
protected void
destroyInstance
(ContextSource instance) void
setAuthenticationSource
(AuthenticationSource authenticationSource) void
setBaseOnTarget
(boolean baseOnTarget) void
setContextSource
(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
-
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
-
createInstance
- Specified by:
createInstance
in classorg.springframework.beans.factory.config.AbstractFactoryBean<ContextSource>
- Throws:
Exception
-
getObjectType
- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean<ContextSource>
- Specified by:
getObjectType
in classorg.springframework.beans.factory.config.AbstractFactoryBean<ContextSource>
-
destroyInstance
- Overrides:
destroyInstance
in classorg.springframework.beans.factory.config.AbstractFactoryBean<ContextSource>
- Throws:
Exception
-