org.openspaces.remoting
Interface RemoteInvocationAspect<T>
- All Known Implementing Classes:
- LazyLoadingRemoteInvocationAspect
public interface RemoteInvocationAspect<T>
A remoting aspect allows to wrap the remote invocaiton with specific "user" logic, for example,
to add retry in case of a failure, security, or something similar.
- Author:
- kimchy
- See Also:
EventDrivenSpaceRemotingProxyFactoryBean
,
ExecutorSpaceRemotingProxyFactoryBean
,
SyncSpaceRemotingProxyFactoryBean
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 invocaiton.
- Throws:
Throwable
Copyright © GigaSpaces.