Class TestContextSourceFactoryBean

java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<org.springframework.ldap.core.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<org.springframework.ldap.core.ContextSource>, org.springframework.beans.factory.InitializingBean

public class TestContextSourceFactoryBean extends org.springframework.beans.factory.config.AbstractFactoryBean<org.springframework.ldap.core.ContextSource>
  • Constructor Details

    • TestContextSourceFactoryBean

      public TestContextSourceFactoryBean()
  • Method Details

    • setAuthenticationSource

      public void setAuthenticationSource(org.springframework.ldap.core.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(org.springframework.ldap.core.ContextSource contextSource)
    • createInstance

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

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

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