KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > ldap > server > BackendSubsystem


1 package org.apache.ldap.server;
2
3
4 import javax.naming.NamingException JavaDoc;
5 import javax.naming.ldap.LdapContext JavaDoc;
6 import java.util.Hashtable JavaDoc;
7
8
9 /**
10  *
11  */

12 public interface BackendSubsystem
13 {
14     /**
15      * Gets an LdapContext to attach to a point in the DIT using the supplied
16      * environment parameters.
17      *
18      * @param env environment settings to use for the context
19      * @return an LdapContext using the supplied environment
20      * @throws NamingException if something goes wrong
21      */

22     LdapContext JavaDoc getLdapContext( Hashtable JavaDoc env ) throws NamingException JavaDoc;
23
24     void sync() throws NamingException JavaDoc;
25
26     void shutdown() throws NamingException JavaDoc;
27 }
28
Popular Tags