org.apache.directory.server.ldap.handlers.extended
Class StoredProcedureExtendedOperationHandler

java.lang.Object
  extended by org.apache.directory.server.ldap.handlers.extended.StoredProcedureExtendedOperationHandler
All Implemented Interfaces:
ExtendedOperationHandler

public class StoredProcedureExtendedOperationHandler
extends java.lang.Object
implements ExtendedOperationHandler

Version:
$Rev$ $Date$
Author:
Apache Directory Project
'XBean'

Constructor Summary
StoredProcedureExtendedOperationHandler()
           
 
Method Summary
 java.util.Set<java.lang.String> getExtensionOids()
          The OIDs of the extensions supported by this handler.
 java.lang.String getOid()
          Returns the EXTENSION_OID of the extended request this handler can handle.
 void handleExtendedOperation(LdapSession session, org.apache.directory.shared.ldap.message.ExtendedRequest req)
          Handles the specified extended operation.
 void setLdapServer(LdapService ldapService)
          Sets the LDAP server for this extendedOperation handler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoredProcedureExtendedOperationHandler

public StoredProcedureExtendedOperationHandler()
Method Detail

handleExtendedOperation

public void handleExtendedOperation(LdapSession session,
                                    org.apache.directory.shared.ldap.message.ExtendedRequest req)
                             throws java.lang.Exception
Description copied from interface: ExtendedOperationHandler
Handles the specified extended operation.

Specified by:
handleExtendedOperation in interface ExtendedOperationHandler
Parameters:
session - the session object related with current connection
req - the LDAP Extended operation request
Throws:
java.lang.Exception - if failed to handle the operation

getOid

public java.lang.String getOid()
Description copied from interface: ExtendedOperationHandler
Returns the EXTENSION_OID of the extended request this handler can handle.

Specified by:
getOid in interface ExtendedOperationHandler

getExtensionOids

public java.util.Set<java.lang.String> getExtensionOids()
Description copied from interface: ExtendedOperationHandler
The OIDs of the extensions supported by this handler. This includes the request as well as any responses associated with the request. These OIDs will be registered with the server to publish them as supportedExtensions.

Specified by:
getExtensionOids in interface ExtendedOperationHandler
Returns:
the OIDs supported by this handler.

setLdapServer

public void setLdapServer(LdapService ldapService)
Description copied from interface: ExtendedOperationHandler
Sets the LDAP server for this extendedOperation handler.

Specified by:
setLdapServer in interface ExtendedOperationHandler
Parameters:
ldapService - the ldap protocol server


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.