org.springframework.ldap.test
Class EmbeddedLdapServerFactoryBean
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<EmbeddedLdapServer>
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmbeddedLdapServerFactoryBean
public EmbeddedLdapServerFactoryBean()
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