Пример #1
0
  public UserRequest(Channel local, Callable<?, EXC> c) throws IOException {
    exports = local.startExportRecording();
    try {
      request = serialize(c, local);
    } finally {
      exports.stopRecording();
    }

    this.toString = c.toString();
    ClassLoader cl = getClassLoader(c);
    classLoaderProxy = RemoteClassLoader.export(cl, local);
  }
Пример #2
0
 public void releaseExports() {
   exports.release();
 }