/** * Invoke the object with the request from the input stream. * * @param in the Burlap input stream * @param out the Burlap output stream */ public void invoke(BurlapInput in, BurlapOutput out) throws Exception { invoke(_service, in, out); }
/** * Invoke the object with the request from the input stream. * * @param in the Burlap input stream * @param out the Burlap output stream */ public void invoke(BurlapInput in, BurlapOutput out) throws Exception { invoke(_service, in, out); }
/** * Invoke the object with the request from the input stream. * * @param in the Burlap input stream * @param out the Burlap output stream */ public void invoke(BurlapInput in, BurlapOutput out) throws Exception { invoke(_service, in, out); }
BurlapOutput out = new BurlapOutput(os); _skeleton.invoke(in, out); } catch (RuntimeException e) { throw e;
BurlapOutput out = new BurlapOutput(os); _skeleton.invoke(in, out); } catch (RuntimeException e) { throw e;
BurlapOutput out = new BurlapOutput(os); _skeleton.invoke(in, out); } catch (RuntimeException e) { throw e;
/** * Perform an invocation on the exported object. * @param inputStream the request stream * @param outputStream the response stream * @throws Throwable if invocation failed */ public void invoke(InputStream inputStream, OutputStream outputStream) throws Throwable { Assert.notNull(this.skeleton, "Burlap exporter has not been initialized"); try { this.skeleton.invoke(new BurlapInput(inputStream), new BurlapOutput(outputStream)); } finally { try { inputStream.close(); } catch (IOException ex) { // ignore } try { outputStream.close(); } catch (IOException ex) { // ignore } } } }
/** * Perform an invocation on the exported object. * @param inputStream the request stream * @param outputStream the response stream * @throws Throwable if invocation failed */ public void invoke(InputStream inputStream, OutputStream outputStream) throws Throwable { Assert.notNull(this.skeleton, "Burlap exporter has not been initialized"); ClassLoader originalClassLoader = overrideThreadContextClassLoader(); try { this.skeleton.invoke(new BurlapInput(inputStream), new BurlapOutput(outputStream)); } finally { try { inputStream.close(); } catch (IOException ex) { // ignore } try { outputStream.close(); } catch (IOException ex) { // ignore } resetThreadContextClassLoader(originalClassLoader); } }