|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServiceExecutionAspect
A service execution callback allows to wrap the execution of "server side" service. If
actual execution of the service is needed, the invoke
method will need to
be called on the passed Method
using the service as the actual service to
invoke it on, and SpaceRemotingInvocation.getArguments()
as the method arguments.
As an example: method.invoke(service, invocation.getArguments())
.
Nested Class Summary | |
---|---|
static interface |
ServiceExecutionAspect.MethodInvocation
A wrapper for method invocation. |
Method Summary | |
---|---|
Object |
invoke(SpaceRemotingInvocation invocation,
ServiceExecutionAspect.MethodInvocation method,
Object service)
A service execution callback allows to wrap the execution of "server side" service. |
Method Detail |
---|
Object invoke(SpaceRemotingInvocation invocation, ServiceExecutionAspect.MethodInvocation method, Object service) throws InvocationTargetException, IllegalAccessException
invoke
method will need to
be called on the passed Method
using the service as the actual service to
invoke it on, and SpaceRemotingInvocation.getArguments()
as the method arguments.
As an example: method.invoke(service, invocation.getArguments())
.
InvocationTargetException
IllegalAccessException
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |