com.metaparadigm.jsonrpc
Interface ErrorInvocationCallback

All Superinterfaces:
InvocationCallback, java.io.Serializable

public interface ErrorInvocationCallback
extends InvocationCallback

Interface to be implemented by objects registered for invocation callbacks that include error information.


Method Summary
 void invocationError(java.lang.Object context, java.lang.Object instance, java.lang.reflect.Method method, java.lang.Throwable error)
          Listener for exceptions thrown from an RPC service.
 
Methods inherited from interface com.metaparadigm.jsonrpc.InvocationCallback
postInvoke, preInvoke
 

Method Detail

invocationError

void invocationError(java.lang.Object context,
                     java.lang.Object instance,
                     java.lang.reflect.Method method,
                     java.lang.Throwable error)
Listener for exceptions thrown from an RPC service.

Parameters:
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.
error - Error resulting from the invocation.


Copyright © 2005 Metaparadigm Pte Ltd.