public class StoredProcedureExtendedOperationHandler extends Object implements ExtendedOperationHandler<org.apache.directory.api.ldap.extras.extended.StoredProcedureRequest,org.apache.directory.api.ldap.extras.extended.StoredProcedureResponse>
| Constructor and Description |
|---|
StoredProcedureExtendedOperationHandler() |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getExtensionOids()
The OIDs of the extensions supported by this handler.
|
String |
getOid()
Returns the EXTENSION_OID of the extended request this handler can handle.
|
void |
handleExtendedOperation(LdapSession session,
org.apache.directory.api.ldap.extras.extended.StoredProcedureRequest req)
Handles the specified extended operation.
|
void |
setLdapServer(LdapServer ldapServer)
Sets the LDAP server for this extendedOperation handler.
|
public StoredProcedureExtendedOperationHandler()
public void handleExtendedOperation(LdapSession session, org.apache.directory.api.ldap.extras.extended.StoredProcedureRequest req) throws Exception
ExtendedOperationHandlerhandleExtendedOperation in interface ExtendedOperationHandler<org.apache.directory.api.ldap.extras.extended.StoredProcedureRequest,org.apache.directory.api.ldap.extras.extended.StoredProcedureResponse>session - the session object related with current connectionreq - the LDAP Extended operation requestException - if failed to handle the operationpublic String getOid()
getOid in interface ExtendedOperationHandler<org.apache.directory.api.ldap.extras.extended.StoredProcedureRequest,org.apache.directory.api.ldap.extras.extended.StoredProcedureResponse>public Set<String> getExtensionOids()
getExtensionOids in interface ExtendedOperationHandler<org.apache.directory.api.ldap.extras.extended.StoredProcedureRequest,org.apache.directory.api.ldap.extras.extended.StoredProcedureResponse>public void setLdapServer(LdapServer ldapServer)
setLdapServer in interface ExtendedOperationHandler<org.apache.directory.api.ldap.extras.extended.StoredProcedureRequest,org.apache.directory.api.ldap.extras.extended.StoredProcedureResponse>ldapServer - the ldap protocol serverCopyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.