Package org.springframework.ldap.test
Class TestContextSourceFactoryBean
- java.lang.Object
-
- org.springframework.beans.factory.config.AbstractFactoryBean
-
- org.springframework.ldap.test.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.beans.factory.InitializingBean
public class TestContextSourceFactoryBean extends org.springframework.beans.factory.config.AbstractFactoryBean
-
-
Constructor Summary
Constructors Constructor Description TestContextSourceFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Object
createInstance()
protected void
destroyInstance(java.lang.Object instance)
java.lang.Class
getObjectType()
void
setAuthenticationSource(AuthenticationSource authenticationSource)
void
setBaseOnTarget(boolean baseOnTarget)
void
setContextSource(ContextSource contextSource)
void
setDefaultPartitionName(java.lang.String defaultPartitionName)
void
setDefaultPartitionSuffix(java.lang.String defaultPartitionSuffix)
void
setDirObjectFactory(java.lang.Class dirObjectFactory)
void
setLdifFile(org.springframework.core.io.Resource ldifFile)
void
setPassword(java.lang.String password)
void
setPooled(boolean pooled)
void
setPort(int port)
void
setPrincipal(java.lang.String principal)
-
-
-
Method Detail
-
setAuthenticationSource
public void setAuthenticationSource(AuthenticationSource authenticationSource)
-
setPooled
public void setPooled(boolean pooled)
-
setDirObjectFactory
public void setDirObjectFactory(java.lang.Class dirObjectFactory)
-
setLdifFile
public void setLdifFile(org.springframework.core.io.Resource ldifFile)
-
setBaseOnTarget
public void setBaseOnTarget(boolean baseOnTarget)
-
setDefaultPartitionSuffix
public void setDefaultPartitionSuffix(java.lang.String defaultPartitionSuffix)
-
setPrincipal
public void setPrincipal(java.lang.String principal)
-
setPassword
public void setPassword(java.lang.String password)
-
setDefaultPartitionName
public void setDefaultPartitionName(java.lang.String defaultPartitionName)
-
setPort
public void setPort(int port)
-
setContextSource
public void setContextSource(ContextSource contextSource)
-
createInstance
protected java.lang.Object createInstance() throws java.lang.Exception
- Specified by:
createInstance
in classorg.springframework.beans.factory.config.AbstractFactoryBean
- Throws:
java.lang.Exception
-
getObjectType
public java.lang.Class getObjectType()
- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean
- Specified by:
getObjectType
in classorg.springframework.beans.factory.config.AbstractFactoryBean
-
destroyInstance
protected void destroyInstance(java.lang.Object instance) throws java.lang.Exception
- Overrides:
destroyInstance
in classorg.springframework.beans.factory.config.AbstractFactoryBean
- Throws:
java.lang.Exception
-
-