if (servant instanceof InvokeHandler) return (InvokeHandler) servant; else if (servant instanceof DynamicImplementation) return new dynImpHandler((DynamicImplementation) servant);
if (a_servant instanceof InvokeHandler) { return (InvokeHandler) a_servant; } else if (a_servant instanceof DynamicImplementation) { return new dynImpHandler((DynamicImplementation) a_servant); }
  public InvokeHandler servantToHandler(Servant servant)  {    if (servant instanceof InvokeHandler)      return (InvokeHandler) servant;    else if (servant instanceof DynamicImplementation)      return new dynImpHandler((DynamicImplementation) servant);    else      throw new BAD_OPERATION(servant + " must be either InvokeHandler or " +                              "POA DynamicImplementation"                             );  }