Class MethodInvocationResult


  • public class MethodInvocationResult
    extends java.lang.Object
    A context object that contains a MethodInvocation and the result of that MethodInvocation.
    Since:
    5.6
    • Constructor Summary

      Constructors 
      Constructor Description
      MethodInvocationResult​(org.aopalliance.intercept.MethodInvocation methodInvocation, java.lang.Object result)
      Construct a MethodInvocationResult with the provided parameters
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.aopalliance.intercept.MethodInvocation getMethodInvocation()
      Return the already-invoked MethodInvocation
      java.lang.Object getResult()
      Return the result of the already-invoked MethodInvocation
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MethodInvocationResult

        public MethodInvocationResult​(org.aopalliance.intercept.MethodInvocation methodInvocation,
                                      java.lang.Object result)
        Construct a MethodInvocationResult with the provided parameters
        Parameters:
        methodInvocation - the already-invoked MethodInvocation
        result - the value returned from the MethodInvocation
    • Method Detail

      • getMethodInvocation

        public org.aopalliance.intercept.MethodInvocation getMethodInvocation()
        Return the already-invoked MethodInvocation
        Returns:
        the already-invoked MethodInvocation
      • getResult

        public java.lang.Object getResult()
        Return the result of the already-invoked MethodInvocation
        Returns:
        the result