Interface MethodInvocation


public interface MethodInvocation
3rd-party API independent representation of a method invocation. This is needed so Shiro can support other MethodInvocation instances from other AOP frameworks/APIs.
Since:
0.1
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the (possibly null) arguments to be supplied to the method invocation.
    Returns the actual Method to be invoked.
    Returns the object that holds the current join point's static part.
    Continues the method invocation chain, or if the last in the chain, the method itself.
  • Method Details

    • proceed

      Continues the method invocation chain, or if the last in the chain, the method itself.
      Returns:
      the result of the Method invocation.
      Throws:
      Throwable - if the method or chain throws a Throwable
    • getMethod

      Returns the actual Method to be invoked.
      Returns:
      the actual Method to be invoked.
    • getArguments

      Returns the (possibly null) arguments to be supplied to the method invocation.
      Returns:
      the (possibly null) arguments to be supplied to the method invocation.
    • getThis

      Returns the object that holds the current join point's static part. For instance, the target object for an invocation.
      Returns:
      the object that holds the current join point's static part.
      Since:
      1.0