|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InvocationCallback
Interface to be implemented by objects registered for invocation callbacks with the JSONRPCBridge.
Method Summary | |
---|---|
void |
postInvoke(java.lang.Object context,
java.lang.Object instance,
java.lang.reflect.Method method,
java.lang.Object result)
Callback after invocation of an RPC method. |
void |
preInvoke(java.lang.Object context,
java.lang.Object instance,
java.lang.reflect.Method method,
java.lang.Object[] arguments)
Callback before invocation of an RPC method. |
Method Detail |
---|
void postInvoke(java.lang.Object context, java.lang.Object instance, java.lang.reflect.Method method, java.lang.Object result) throws java.lang.Exception
context
- The transport context (the HttpServletRequest
object in the case of the HTTP transport).instance
- The object instance or null if it is a static method.method
- Method that failed the invocation.result
- The returned result from the method
java.lang.Exception
void preInvoke(java.lang.Object context, java.lang.Object instance, java.lang.reflect.Method method, java.lang.Object[] arguments) throws java.lang.Exception
context
- The transport context (the HttpServletRequest
object in the case of the HTTP transport).instance
- The object instance or null if it is a static method.method
- Method that failed the invocation.arguments
- The arguments passed to the method
java.lang.Exception
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |