Interface CommandGatewayFactory.InvocationHandler<R>
- Type Parameters:
R- The return type of the method invocation.
- Enclosing class:
CommandGatewayFactory
public static interface CommandGatewayFactory.InvocationHandler<R>
Interface towards the mechanism that handles a method call on a gateway interface method.
-
Method Summary
-
Method Details
-
invoke
Handle the invocation of the giveninvokedMethod, invoked on givenproxywith givenargs.- Parameters:
proxy- The proxy on which the method was invoked.invokedMethod- The method being invoked.args- The arguments of the invocation.- Returns:
- The return value of the invocation.
- Throws:
Exception- Any exceptions that occurred while processing the invocation.
-