org.axonframework.commandhandling.gateway
Interface GatewayProxyFactory.InvocationHandler<R>
- Type Parameters:
R - The return type of the method invocation
- Enclosing class:
- GatewayProxyFactory
public static interface GatewayProxyFactory.InvocationHandler<R>
Interface towards the mechanism that handles a method call on a gateway interface method.
|
Method Summary |
R |
invoke(Object proxy,
Method invokedMethod,
Object[] args)
Handle the invocation of the given invokedMethod, invoked on given proxy with
given
args. |
invoke
R invoke(Object proxy,
Method invokedMethod,
Object[] args)
throws Throwable
- Handle the invocation of the given
invokedMethod, invoked on given proxy with
given
args.
- Parameters:
proxy - The proxy on which the method was invokedinvokedMethod - The method being invokedargs - The arguments of the invocation
- Returns:
- the return value of the invocation
- Throws:
Throwable - any exceptions that occurred while processing the invocation
Copyright © 2010-2016. All Rights Reserved.