Package org.opends.server.extensions
Class CancelExtendedOperation
java.lang.Object
org.opends.server.api.ExtendedOperationHandler<CancelExtendedOperationHandlerCfg>
org.opends.server.extensions.CancelExtendedOperation
public final class CancelExtendedOperation
extends ExtendedOperationHandler<CancelExtendedOperationHandlerCfg>
This class implements the LDAP cancel extended operation defined in RFC 3909. It is similar to the LDAP abandon
operation, with the exception that it requires a response for both the operation that is cancelled and the cancel
request (whereas an abandon request never has a response, and if it is successful the abandoned operation won't get
one either).
-
Constructor Summary
ConstructorDescriptionCreate an instance of this cancel extended operation. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the name associated with this extended operation.Retrieves the object OID associated with this extended operation.void
processExtendedOperation
(ExtendedOperation operation) Processes the provided extended operation.Methods inherited from class org.opends.server.api.ExtendedOperationHandler
finalizeExtendedOperationHandler, getServerContext, getSupportedControls, getSupportedFeatures, initializeExtendedOperationHandler, isConfigurationAcceptable, supportsControl
-
Constructor Details
-
CancelExtendedOperation
public CancelExtendedOperation()Create an instance of this cancel extended operation. All initialization should be performed in theinitializeExtendedOperationHandler
method.
-
-
Method Details
-
processExtendedOperation
Description copied from class:ExtendedOperationHandler
Processes the provided extended operation.- Specified by:
processExtendedOperation
in classExtendedOperationHandler<CancelExtendedOperationHandlerCfg>
- Parameters:
operation
- The extended operation to be processed.
-
getExtendedOperationOID
Description copied from class:ExtendedOperationHandler
Retrieves the object OID associated with this extended operation.- Specified by:
getExtendedOperationOID
in classExtendedOperationHandler<CancelExtendedOperationHandlerCfg>
- Returns:
- the oid associated with this extended operation, if any, or
null
if there is none.
-
getExtendedOperationName
Description copied from class:ExtendedOperationHandler
Retrieves the name associated with this extended operation.- Specified by:
getExtendedOperationName
in classExtendedOperationHandler<CancelExtendedOperationHandlerCfg>
- Returns:
- The name associated with this extended operation, if any, or
null
if there is none.
-