public class BeforeAdviceMethodInvocationAdapter extends Object implements org.apache.shiro.aop.MethodInvocation
JoinPoint.| Constructor and Description |
|---|
BeforeAdviceMethodInvocationAdapter(Object anObject,
Method aMethod,
Object[] someArguments)
Creates a new
BeforeAdviceMethodInvocationAdapter instance. |
| Modifier and Type | Method and Description |
|---|---|
static BeforeAdviceMethodInvocationAdapter |
createFrom(org.aspectj.lang.JoinPoint aJoinPoint)
Factory method that creates a new
BeforeAdviceMethodInvocationAdapter instance
using the AspectJ JoinPoint provided. |
Object[] |
getArguments() |
Method |
getMethod() |
Object |
getThis() |
Object |
proceed() |
public BeforeAdviceMethodInvocationAdapter(Object anObject, Method aMethod, Object[] someArguments)
BeforeAdviceMethodInvocationAdapter instance.aMethod - The method to invoke.someArguments - The arguments of the method invocation.public static BeforeAdviceMethodInvocationAdapter createFrom(org.aspectj.lang.JoinPoint aJoinPoint)
BeforeAdviceMethodInvocationAdapter instance
using the AspectJ JoinPoint provided. If the joint point passed in is not
a method joint point, this method throws an IllegalArgumentException.aJoinPoint - The AspectJ JoinPoint to use to adapt the advice.IllegalArgumentException - If the join point passed in does not involve a method call.public Object[] getArguments()
getArguments in interface org.apache.shiro.aop.MethodInvocationpublic Method getMethod()
getMethod in interface org.apache.shiro.aop.MethodInvocationpublic Object proceed() throws Throwable
proceed in interface org.apache.shiro.aop.MethodInvocationThrowablepublic Object getThis()
getThis in interface org.apache.shiro.aop.MethodInvocationCopyright © 2004–2020 The Apache Software Foundation. All rights reserved.