Class MethodInvocationResult
java.lang.Object
org.springframework.security.authorization.method.MethodInvocationResult
A context object that contains a
MethodInvocation and the result of that
MethodInvocation.- Since:
- 5.6
-
Constructor Summary
ConstructorsConstructorDescriptionMethodInvocationResult(org.aopalliance.intercept.MethodInvocation methodInvocation, Object result) Construct aMethodInvocationResultwith the provided parameters -
Method Summary
Modifier and TypeMethodDescriptionorg.aopalliance.intercept.MethodInvocationReturn the already-invokedMethodInvocationReturn the result of the already-invokedMethodInvocation
-
Constructor Details
-
MethodInvocationResult
public MethodInvocationResult(org.aopalliance.intercept.MethodInvocation methodInvocation, Object result) Construct aMethodInvocationResultwith the provided parameters- Parameters:
methodInvocation- the already-invokedMethodInvocationresult- the value returned from theMethodInvocation
-
-
Method Details
-
getMethodInvocation
public org.aopalliance.intercept.MethodInvocation getMethodInvocation()Return the already-invokedMethodInvocation- Returns:
- the already-invoked
MethodInvocation
-
getResult
Return the result of the already-invokedMethodInvocation- Returns:
- the result
-