Spring LDAP

org.springframework.ldap.test
Class EmbeddedLdapServerFactoryBean

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

public class EmbeddedLdapServerFactoryBean
extends AbstractFactoryBean<EmbeddedLdapServer>

Author:
Mattias Hellborg Arthursson

Field Summary
 
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
 
Constructor Summary
EmbeddedLdapServerFactoryBean()
           
 
Method Summary
protected  EmbeddedLdapServer createInstance()
           
protected  void destroyInstance(EmbeddedLdapServer instance)
           
 Class<?> getObjectType()
           
 void setPartitionName(String partitionName)
           
 void setPartitionSuffix(String partitionSuffix)
           
 void setPort(int port)
           
 
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

EmbeddedLdapServerFactoryBean

public EmbeddedLdapServerFactoryBean()
Method Detail

getObjectType

public Class<?> getObjectType()
Specified by:
getObjectType in interface FactoryBean<EmbeddedLdapServer>
Specified by:
getObjectType in class AbstractFactoryBean<EmbeddedLdapServer>

setPartitionName

public void setPartitionName(String partitionName)

setPartitionSuffix

public void setPartitionSuffix(String partitionSuffix)

setPort

public void setPort(int port)

createInstance

protected EmbeddedLdapServer createInstance()
                                     throws Exception
Specified by:
createInstance in class AbstractFactoryBean<EmbeddedLdapServer>
Throws:
Exception

destroyInstance

protected void destroyInstance(EmbeddedLdapServer instance)
                        throws Exception
Overrides:
destroyInstance in class AbstractFactoryBean<EmbeddedLdapServer>
Throws:
Exception

Spring LDAP