public class ProxyInvokingHelper extends Object
| Constructor and Description |
|---|
ProxyInvokingHelper() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterInvocation(Object target,
Invocation invocation,
Invoker invoker,
InvocationRestriction restriction) |
protected void |
beforeInvocation(Object target,
Invocation invocation,
Invoker invoker,
InvocationRestriction restriction) |
void |
invoke(Object target,
InputStream is,
OutputStream os,
Serializer serializer,
Invoker invoker,
InvocationRestriction restriction) |
protected Object |
invoke(Object target,
Invocation invocation,
Invoker invoker,
InvocationRestriction restriction) |
protected void |
send(OutputStream os,
Object object,
Serializer serializer) |
protected void |
sendResult(OutputStream os,
Object result,
Serializer serializer) |
protected void |
sendThrown(OutputStream os,
Throwable e,
Serializer serializer) |
protected void |
sendThrownThrowingOnSerializationError(OutputStream os,
Throwable t,
Serializer serializer) |
public void invoke(Object target, InputStream is, OutputStream os, Serializer serializer, Invoker invoker, InvocationRestriction restriction) throws IOException
IOExceptionprotected void beforeInvocation(Object target, Invocation invocation, Invoker invoker, InvocationRestriction restriction)
protected Object invoke(Object target, Invocation invocation, Invoker invoker, InvocationRestriction restriction) throws InvokedSideInvocationException, Throwable
protected void afterInvocation(Object target, Invocation invocation, Invoker invoker, InvocationRestriction restriction)
protected void sendResult(OutputStream os, Object result, Serializer serializer) throws SerializationException, IOException
SerializationExceptionIOExceptionprotected void sendThrown(OutputStream os, Throwable e, Serializer serializer) throws SerializationException, IOException
SerializationExceptionIOExceptionprotected void send(OutputStream os, Object object, Serializer serializer) throws SerializationException, IOException
SerializationExceptionIOExceptionprotected void sendThrownThrowingOnSerializationError(OutputStream os, Throwable t, Serializer serializer) throws IOException
IOExceptionCopyright © 2015. All rights reserved.