Class MethodInvocationResult

java.lang.Object
org.springframework.security.authorization.method.MethodInvocationResult

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

    • MethodInvocationResult

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

    • getMethodInvocation

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

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