GigaSpaces XAP 9.7.2 API

org.openspaces.remoting
Interface RemoteInvocationAspect<T>

All Known Implementing Classes:
LazyLoadingRemoteInvocationAspect

public interface RemoteInvocationAspect<T>

A remoting aspect allows to wrap the remote invocation with specific "user" logic, for example, to add retry in case of a failure, security, or something similar.

Author:
kimchy
See Also:
EventDrivenSpaceRemotingProxyFactoryBean, ExecutorSpaceRemotingProxyFactoryBean

Method Summary
 T invoke(MethodInvocation methodInvocation, RemotingInvoker remotingInvoker)
          The aspect is called instead of the actual remote invocation.
 

Method Detail

invoke

T invoke(MethodInvocation methodInvocation,
         RemotingInvoker remotingInvoker)
         throws Throwable
The aspect is called instead of the actual remote invocation. The methodInvocation can be used to access any method related information. The remoting invoker passed can be used to actually invoke the remote invocation.

Throws:
Throwable

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.