Class 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
    • Field Summary

      • Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean

        logger
      • Fields inherited from interface org.springframework.beans.factory.FactoryBean

        OBJECT_TYPE_ATTRIBUTE
    • 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​(org.springframework.ldap.core.AuthenticationSource authenticationSource)  
      void setBaseOnTarget​(boolean baseOnTarget)  
      void setContextSource​(org.springframework.ldap.core.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)  
      • 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​(org.springframework.ldap.core.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​(org.springframework.ldap.core.ContextSource contextSource)
      • createInstance

        protected java.lang.Object createInstance()
                                           throws java.lang.Exception
        Specified by:
        createInstance in class org.springframework.beans.factory.config.AbstractFactoryBean
        Throws:
        java.lang.Exception
      • getObjectType

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

        protected void destroyInstance​(java.lang.Object instance)
                                throws java.lang.Exception
        Overrides:
        destroyInstance in class org.springframework.beans.factory.config.AbstractFactoryBean
        Throws:
        java.lang.Exception