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>
  • Constructor Details

    • TestContextSourceFactoryBean

      public TestContextSourceFactoryBean()
  • Method Details

    • setAuthenticationSource

      public void setAuthenticationSource(AuthenticationSource authenticationSource)
    • setPooled

      public void setPooled(boolean pooled)
    • setDirObjectFactory

      public void setDirObjectFactory(Class<? extends DirObjectFactory> dirObjectFactory)
    • setLdifFile

      public void setLdifFile(org.springframework.core.io.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)
    • setContextSource

      public void setContextSource(ContextSource contextSource)
    • createInstance

      protected ContextSource createInstance() throws Exception
      Specified by:
      createInstance in class org.springframework.beans.factory.config.AbstractFactoryBean<ContextSource>
      Throws:
      Exception
    • getObjectType

      public Class<ContextSource> getObjectType()
      Specified by:
      getObjectType in interface org.springframework.beans.factory.FactoryBean<ContextSource>
      Specified by:
      getObjectType in class org.springframework.beans.factory.config.AbstractFactoryBean<ContextSource>
    • destroyInstance

      protected void destroyInstance(ContextSource instance) throws Exception
      Overrides:
      destroyInstance in class org.springframework.beans.factory.config.AbstractFactoryBean<ContextSource>
      Throws:
      Exception