|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ldap.server.jndi.JndiProvider
The BackendSubsystem service implementation.
Constructor Summary | |
JndiProvider(RootNexus nexus)
Creates a singlton instance of the BackendSubsystem. |
Method Summary | |
javax.naming.Context |
getDeadContext()
A dead context is requested and returned when we shutdown the system. |
Interceptor |
getInterceptor()
|
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. |
java.lang.Object |
invoke(Invocation call)
|
void |
setInterceptor(Interceptor interceptor)
|
void |
shutdown()
|
void |
sync()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JndiProvider(RootNexus nexus)
java.lang.IllegalStateException
- if another JndiProvider has already
been instantiated.Method Detail |
public javax.naming.ldap.LdapContext getLdapContext(java.util.Hashtable env) throws javax.naming.NamingException
BackendSubsystem
getLdapContext
in interface BackendSubsystem
env
- environment settings to use for the context
javax.naming.NamingException
- if something goes wrongBackendSubsystem.getLdapContext(Hashtable)
public void sync() throws javax.naming.NamingException
sync
in interface BackendSubsystem
javax.naming.NamingException
public void shutdown() throws javax.naming.NamingException
shutdown
in interface BackendSubsystem
javax.naming.NamingException
public Interceptor getInterceptor()
public void setInterceptor(Interceptor interceptor)
public java.lang.Object invoke(Invocation call) throws javax.naming.NamingException
javax.naming.NamingException
public javax.naming.Context getDeadContext()
NoInitialContextException
from being
thrown by InitialContext or one of its subclasses.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |