public class TestContextSourceFactoryBean
extends org.springframework.beans.factory.config.AbstractFactoryBean<org.springframework.ldap.core.ContextSource>
| Constructor and Description |
|---|
TestContextSourceFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.ldap.core.ContextSource |
createInstance() |
protected void |
destroyInstance(org.springframework.ldap.core.ContextSource instance) |
Class<org.springframework.ldap.core.ContextSource> |
getObjectType() |
void |
setAuthenticationSource(org.springframework.ldap.core.AuthenticationSource authenticationSource) |
void |
setBaseOnTarget(boolean baseOnTarget) |
void |
setContextSource(org.springframework.ldap.core.ContextSource contextSource) |
void |
setDefaultPartitionName(String defaultPartitionName) |
void |
setDefaultPartitionSuffix(String defaultPartitionSuffix) |
void |
setDirObjectFactory(Class<? extends DirObjectFactory> dirObjectFactory) |
void |
setLdifFile(org.springframework.core.io.Resource ldifFile) |
void |
setPassword(String password) |
void |
setPooled(boolean pooled) |
void |
setPort(int port) |
void |
setPrincipal(String principal) |
public void setAuthenticationSource(org.springframework.ldap.core.AuthenticationSource authenticationSource)
public void setPooled(boolean pooled)
public void setDirObjectFactory(Class<? extends DirObjectFactory> dirObjectFactory)
public void setLdifFile(org.springframework.core.io.Resource ldifFile)
public void setBaseOnTarget(boolean baseOnTarget)
public void setDefaultPartitionSuffix(String defaultPartitionSuffix)
public void setPrincipal(String principal)
public void setPassword(String password)
public void setDefaultPartitionName(String defaultPartitionName)
public void setPort(int port)
public void setContextSource(org.springframework.ldap.core.ContextSource contextSource)
protected org.springframework.ldap.core.ContextSource createInstance()
throws Exception
createInstance in class org.springframework.beans.factory.config.AbstractFactoryBean<org.springframework.ldap.core.ContextSource>Exceptionpublic Class<org.springframework.ldap.core.ContextSource> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<org.springframework.ldap.core.ContextSource>getObjectType in class org.springframework.beans.factory.config.AbstractFactoryBean<org.springframework.ldap.core.ContextSource>