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
ConstructorDescriptionMethodInvocationResult
(org.aopalliance.intercept.MethodInvocation methodInvocation, Object result) Construct aMethodInvocationResult
with the provided parameters -
Method Summary
Modifier and TypeMethodDescriptionorg.aopalliance.intercept.MethodInvocation
Return the already-invokedMethodInvocation
Return the result of the already-invokedMethodInvocation
-
Constructor Details
-
MethodInvocationResult
public MethodInvocationResult(org.aopalliance.intercept.MethodInvocation methodInvocation, Object result) Construct aMethodInvocationResult
with the provided parameters- Parameters:
methodInvocation
- the already-invokedMethodInvocation
result
- 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
-