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:
  • Method Summary

    Modifier and Type
    Method
    Description
    invoke(org.aopalliance.intercept.MethodInvocation methodInvocation, RemotingInvoker remotingInvoker)
    The aspect is called instead of the actual remote invocation.
  • Method Details

    • invoke

      T invoke(org.aopalliance.intercept.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