|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.ldap.LdapProtocolProvider
public class LdapProtocolProvider
An LDAP protocol provider implementation which dynamically associates handlers.
Field Summary | |
---|---|
static java.lang.String |
SERVICE_NAME
the constant service name of this ldap protocol provider |
Constructor Summary | |
---|---|
LdapProtocolProvider(StartupConfiguration cfg,
java.util.Hashtable env)
Creates a MINA LDAP protocol provider. |
Method Summary | |
---|---|
void |
addExtendedOperationHandler(ExtendedOperationHandler eoh)
Registeres the specified ExtendedOperationHandler to this
protocol provider to provide a specific LDAP extended operation. |
org.apache.mina.filter.codec.ProtocolCodecFactory |
getCodecFactory()
|
ExtendedOperationHandler |
getExtendedOperationHandler(java.lang.String oid)
Returns an ExtendedOperationHandler with the specified oid
which is registered to this protocol provider. |
java.util.Map |
getExtendedOperationHandlerMap()
Returns a Map of all registered OID-ExtendedOperationHandler
pairs. |
org.apache.mina.common.IoHandler |
getHandler()
|
java.lang.String |
getName()
|
void |
removeExtendedOperationHandler(java.lang.String oid)
Deregisteres an ExtendedOperationHandler with the specified oid
from this protocol provider. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SERVICE_NAME
Constructor Detail |
---|
public LdapProtocolProvider(StartupConfiguration cfg, java.util.Hashtable env) throws org.apache.directory.shared.ldap.exception.LdapNamingException
env
- environment properties used to configure the provider and
underlying codec providers if any
org.apache.directory.shared.ldap.exception.LdapNamingException
Method Detail |
---|
public java.lang.String getName()
public org.apache.mina.filter.codec.ProtocolCodecFactory getCodecFactory()
public org.apache.mina.common.IoHandler getHandler()
public void addExtendedOperationHandler(ExtendedOperationHandler eoh)
ExtendedOperationHandler
to this
protocol provider to provide a specific LDAP extended operation.
public void removeExtendedOperationHandler(java.lang.String oid)
ExtendedOperationHandler
with the specified oid
from this protocol provider.
public ExtendedOperationHandler getExtendedOperationHandler(java.lang.String oid)
ExtendedOperationHandler
with the specified oid
which is registered to this protocol provider.
public java.util.Map getExtendedOperationHandlerMap()
Map
of all registered OID-ExtendedOperationHandler
pairs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |