org.apache.ldap.server
Interface BackendSubsystem

All Known Implementing Classes:
JndiProvider

public interface BackendSubsystem


Method Summary
 javax.naming.ldap.LdapContext getLdapContext(java.util.Hashtable env)
          Gets an LdapContext to attach to a point in the DIT using the supplied environment parameters.
 void shutdown()
           
 void sync()
           
 

Method Detail

getLdapContext

public javax.naming.ldap.LdapContext getLdapContext(java.util.Hashtable env)
                                             throws javax.naming.NamingException
Gets an LdapContext to attach to a point in the DIT using the supplied environment parameters.

Parameters:
env - environment settings to use for the context
Returns:
an LdapContext using the supplied environment
Throws:
javax.naming.NamingException - if something goes wrong

sync

public void sync()
          throws javax.naming.NamingException
Throws:
javax.naming.NamingException

shutdown

public void shutdown()
              throws javax.naming.NamingException
Throws:
javax.naming.NamingException