public org.omg.CORBA.portable.OutputStream _invoke(
      String method,
      org.omg.CORBA.portable.InputStream in,
      org.omg.CORBA.portable.ResponseHandler rh) {
    org.omg.CORBA.portable.OutputStream out = rh.createReply();
    java.lang.Integer __method = (java.lang.Integer) _methods.get(method);
    if (__method == null)
      throw new org.omg.CORBA.BAD_OPERATION(0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);

    switch (__method.intValue()) {
      case 0: // org/eclipse/persistence/testing/Remote/SunCORBA/CORBAServerManager/createRemoteSessionController
        {
          org.eclipse.persistence.sessions.remote.corba.sun.CORBARemoteSessionController __result =
              null;
          __result = this.createRemoteSessionController();
          org.eclipse.persistence.sessions.remote.corba.sun.CORBARemoteSessionControllerHelper
              .write(out, __result);
          break;
        }

      default:
        throw new org.omg.CORBA.BAD_OPERATION(0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
    }

    return out;
  } // _invoke