Spring LDAP

org.springframework.ldap.test
Class TestContextSourceFactoryBean

java.lang.Object
  extended by org.springframework.beans.factory.config.AbstractFactoryBean
      extended by org.springframework.ldap.test.TestContextSourceFactoryBean
All Implemented Interfaces:
BeanClassLoaderAware, BeanFactoryAware, DisposableBean, FactoryBean, InitializingBean

public class TestContextSourceFactoryBean
extends AbstractFactoryBean

Author:
Mattias Hellborg Arthursson

Field Summary
 
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
 
Constructor Summary
TestContextSourceFactoryBean()
           
 
Method Summary
protected  Object createInstance()
           
protected  void destroyInstance(Object instance)
           
 Class getObjectType()
           
 void setAuthenticationSource(AuthenticationSource authenticationSource)
           
 void setBaseOnTarget(boolean baseOnTarget)
           
 void setDefaultPartitionName(String defaultPartitionName)
           
 void setDefaultPartitionSuffix(String defaultPartitionSuffix)
           
 void setDirObjectFactory(Class dirObjectFactory)
           
 void setLdifFile(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestContextSourceFactoryBean

public TestContextSourceFactoryBean()
Method Detail

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

Spring LDAP