Class EmbeddedLdapServerFactoryBean
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<EmbeddedLdapServer>
org.springframework.ldap.test.unboundid.EmbeddedLdapServerFactoryBean
- 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<EmbeddedLdapServer>
,org.springframework.beans.factory.InitializingBean
public class EmbeddedLdapServerFactoryBean
extends org.springframework.beans.factory.config.AbstractFactoryBean<EmbeddedLdapServer>
-
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected EmbeddedLdapServer
protected void
destroyInstance
(EmbeddedLdapServer instance) Class<?>
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
-
Constructor Details
-
EmbeddedLdapServerFactoryBean
public EmbeddedLdapServerFactoryBean()
-
-
Method Details
-
getObjectType
- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean<EmbeddedLdapServer>
- Specified by:
getObjectType
in classorg.springframework.beans.factory.config.AbstractFactoryBean<EmbeddedLdapServer>
-
setPartitionName
-
setPartitionSuffix
-
setPort
public void setPort(int port) -
createInstance
- Specified by:
createInstance
in classorg.springframework.beans.factory.config.AbstractFactoryBean<EmbeddedLdapServer>
- Throws:
Exception
-
destroyInstance
- Overrides:
destroyInstance
in classorg.springframework.beans.factory.config.AbstractFactoryBean<EmbeddedLdapServer>
- Throws:
Exception
-