Class MethodInvocationResult
- java.lang.Object
-
- org.springframework.security.authorization.method.MethodInvocationResult
-
public class MethodInvocationResult extends java.lang.ObjectA context object that contains aMethodInvocationand the result of thatMethodInvocation.- Since:
- 5.6
-
-
Constructor Summary
Constructors Constructor Description MethodInvocationResult(org.aopalliance.intercept.MethodInvocation methodInvocation, java.lang.Object result)Construct aMethodInvocationResultwith the provided parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.aopalliance.intercept.MethodInvocationgetMethodInvocation()Return the already-invokedMethodInvocationjava.lang.ObjectgetResult()Return the result of the already-invokedMethodInvocation
-
-
-
Constructor Detail
-
MethodInvocationResult
public MethodInvocationResult(org.aopalliance.intercept.MethodInvocation methodInvocation, java.lang.Object result)Construct aMethodInvocationResultwith the provided parameters- Parameters:
methodInvocation- the already-invokedMethodInvocationresult- 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
-
-