GigaSpaces XAP 9.7.2 API

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 getMethod()
          Gets the underlying method of this invocation
 Object invoke(Object service, Object... args)
          Invokes this execution on the specified service using the supplied arguments.
 

Method Detail

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:
IllegalAccessException
IllegalArgumentException
InvocationTargetException

getMethod

Method getMethod()
Gets the underlying method of this invocation


GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.