/**
   * Ensures that the operation being executed is a GetFeature operation.
   *
   * <p>Subclasses may implement
   */
  public boolean canHandle(Operation operation) {
    // GetFeature operation?
    if ("GetFeature".equalsIgnoreCase(operation.getId())
        || "GetFeatureWithLock".equalsIgnoreCase(operation.getId())) {
      // also check that the resultType is "results"
      GetFeatureRequest req = GetFeatureRequest.adapt(operation.getParameters()[0]);
      if (req.isResultTypeResults()) {
        // call subclass hook
        return canHandleInternal(operation);
      }
    }

    return false;
  }
 @Override
 public boolean canHandle(Operation operation) {
   String operationId = operation.getId();
   return ("GetExecutionStatus".equalsIgnoreCase(operationId)
           || "GetExecutionResult".equalsIgnoreCase(operationId))
       && operation.getService().getId().equals("wps");
 }