Package org.apache.shiro.aop
Interface MethodInvocation
-
public interface MethodInvocation
3rd-party API independent representation of a method invocation. This is needed so Shiro can support other MethodInvocation instances from other AOP frameworks/APIs.- Since:
- 0.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description []
getArguments()
Returns the (possibly null) arguments to be supplied to the method invocation.getMethod()
Returns the actual to be invoked.getThis()
Returns the object that holds the current joinpoint's static part.proceed()
Continues the method invocation chain, or if the last in the chain, the method itself.
-
-
-
Method Detail
-
proceed
proceed() throws
Continues the method invocation chain, or if the last in the chain, the method itself.- Returns:
- the result of the Method invocation.
- Throws:
- if the method or chain throws a Throwable
-
getMethod
getMethod()
Returns the actual to be invoked.- Returns:
- the actual to be invoked.
-
getArguments
[] getArguments()
Returns the (possibly null) arguments to be supplied to the method invocation.- Returns:
- the (possibly null) arguments to be supplied to the method invocation.
-
getThis
getThis()
Returns the object that holds the current joinpoint's static part. For instance, the target object for an invocation.- Returns:
- the object that holds the current joinpoint's static part.
- Since:
- 1.0
-
-