org.springframework.ldap
Class LdapServerManager

java.lang.Object
  extended by org.springframework.ldap.LdapServerManager
All Implemented Interfaces:
DisposableBean, InitializingBean

public class LdapServerManager
extends Object
implements InitializingBean, DisposableBean

Utility class to initialize the apache directory server. This means clearing it of all entries, and initializing it with the startup ldif data.

Author:
Mattias Arthursson

Constructor Summary
LdapServerManager()
           
 
Method Summary
 void afterPropertiesSet()
           
 void destroy()
           
 void setContextSource(ContextSource contextSource)
           
 void setLdifFile(String ldifFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LdapServerManager

public LdapServerManager()
Method Detail

setContextSource

public void setContextSource(ContextSource contextSource)

setLdifFile

public void setLdifFile(String ldifFile)

destroy

public void destroy()
             throws Exception
Specified by:
destroy in interface DisposableBean
Throws:
Exception

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface InitializingBean
Throws:
Exception


Copyright © 2006-2011 Spring Framework. All Rights Reserved.