org.springframework.ldap.test
Class TestContextSourceFactoryBean
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean
org.springframework.ldap.test.TestContextSourceFactoryBean
- All Implemented Interfaces:
- BeanClassLoaderAware, BeanFactoryAware, DisposableBean, FactoryBean, InitializingBean
public class TestContextSourceFactoryBean
- extends AbstractFactoryBean
- Author:
- Mattias Hellborg Arthursson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestContextSourceFactoryBean
public TestContextSourceFactoryBean()
setAuthenticationSource
public void setAuthenticationSource(AuthenticationSource authenticationSource)
setPooled
public void setPooled(boolean pooled)
setDirObjectFactory
public void setDirObjectFactory(Class dirObjectFactory)
setLdifFile
public void setLdifFile(Resource ldifFile)
setBaseOnTarget
public void setBaseOnTarget(boolean baseOnTarget)
setDefaultPartitionSuffix
public void setDefaultPartitionSuffix(String defaultPartitionSuffix)
setPrincipal
public void setPrincipal(String principal)
setPassword
public void setPassword(String password)
setDefaultPartitionName
public void setDefaultPartitionName(String defaultPartitionName)
setPort
public void setPort(int port)
createInstance
protected Object createInstance()
throws Exception
- Specified by:
createInstance
in class AbstractFactoryBean
- Throws:
Exception
getObjectType
public Class getObjectType()
- Specified by:
getObjectType
in interface FactoryBean
- Specified by:
getObjectType
in class AbstractFactoryBean
destroyInstance
protected void destroyInstance(Object instance)
throws Exception
- Overrides:
destroyInstance
in class AbstractFactoryBean
- Throws:
Exception