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); }
public void releaseExports() { exports.release(); }