Class MethodInvocationResult
- java.lang.Object
-
- org.springframework.security.authorization.method.MethodInvocationResult
-
public class MethodInvocationResult extends java.lang.Object
A context object that contains aMethodInvocation
and the result of thatMethodInvocation
.- Since:
- 5.6
-
-
Constructor Summary
Constructors Constructor Description MethodInvocationResult(org.aopalliance.intercept.MethodInvocation methodInvocation, java.lang.Object result)
Construct aMethodInvocationResult
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-invokedMethodInvocation
java.lang.Object
getResult()
Return the result of the already-invokedMethodInvocation
-
-
-
Constructor Detail
-
MethodInvocationResult
public MethodInvocationResult(org.aopalliance.intercept.MethodInvocation methodInvocation, java.lang.Object result)
Construct aMethodInvocationResult
with the provided parameters- Parameters:
methodInvocation
- the already-invokedMethodInvocation
result
- the value returned from theMethodInvocation
-
-
Method Detail
-
getMethodInvocation
public org.aopalliance.intercept.MethodInvocation getMethodInvocation()
Return the already-invokedMethodInvocation
- Returns:
- the already-invoked
MethodInvocation
-
getResult
public java.lang.Object getResult()
Return the result of the already-invokedMethodInvocation
- Returns:
- the result
-
-