Package org.openspaces.remoting
Interface ServiceExecutionAspect.MethodInvocation
- Enclosing interface:
- ServiceExecutionAspect
public static interface ServiceExecutionAspect.MethodInvocation
A wrapper for method invocation. Allows to execute the actual method invocation. Similar to
reflection based method invocation.
-
Method Summary
-
Method Details
-
invoke
Object invoke(Object service, Object... args) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException Invokes this execution on the specified service using the supplied arguments.- Parameters:
service- the service to invoke the method on.args- the arguments of the invocation.- Returns:
- invocation result.
- Throws:
IllegalAccessExceptionIllegalArgumentExceptionInvocationTargetException
-
getMethod
Method getMethod()Gets the underlying method of this invocation
-