net.sf.joyaop.impl
Class InvocationImpl
java.lang.Object
net.sf.joyaop.impl.InvocationImpl
- All Implemented Interfaces:
- AbstractInterceptor, org.aopalliance.intercept.Invocation, org.aopalliance.intercept.Joinpoint, org.aopalliance.intercept.MethodInvocation
public class InvocationImpl
- extends java.lang.Object
- implements AbstractInterceptor, org.aopalliance.intercept.MethodInvocation
- Author:
- Shen Li
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InvocationImpl
public InvocationImpl()
getCurrentInvocation
public static InvocationImpl getCurrentInvocation()
setCurrentInvocation
public static void setCurrentInvocation(InvocationImpl invocation)
proceed
public java.lang.Object proceed()
throws java.lang.Throwable
- Specified by:
proceed
in interface org.aopalliance.intercept.Joinpoint
- Throws:
java.lang.Throwable
execute
public java.lang.Object execute()
throws java.lang.Throwable
- Specified by:
execute
in interface AbstractInterceptor
- Throws:
java.lang.Throwable
isDirty
public boolean isDirty()
getParameter
public java.lang.Object getParameter(java.lang.String name)
isOnInterceptor
public boolean isOnInterceptor()
allowRecursion
public boolean allowRecursion()
getArguments
public java.lang.Object[] getArguments()
- Specified by:
getArguments
in interface org.aopalliance.intercept.Invocation
getCurrentInterceptorIndex
public short getCurrentInterceptorIndex()
getInterceptorAspectInstances
public java.util.List getInterceptorAspectInstances()
getTargetInstance
public RuntimeInstance getTargetInstance()
getMethod
public java.lang.reflect.Method getMethod()
- Specified by:
getMethod
in interface org.aopalliance.intercept.MethodInvocation
getMethodProxy
public net.sf.cglib.proxy.MethodProxy getMethodProxy()
getProxy
public java.lang.Object getProxy()
getThis
public java.lang.Object getThis()
- Specified by:
getThis
in interface org.aopalliance.intercept.Joinpoint
getStaticPart
public java.lang.reflect.AccessibleObject getStaticPart()
- Specified by:
getStaticPart
in interface org.aopalliance.intercept.Joinpoint
setArguments
public void setArguments(java.lang.Object[] arguments)
setCurrentInterceptorIndex
public void setCurrentInterceptorIndex(short currentInterceptorIndex)
resetCurrentInterceptorIndex
public void resetCurrentInterceptorIndex()
setInterceptorAspectInstances
public void setInterceptorAspectInstances(java.util.List interceptorAspectInstances)
setTargetInstance
public void setTargetInstance(RuntimeInstance targetInstance)
setMethod
public void setMethod(java.lang.reflect.Method method)
setMethodProxy
public void setMethodProxy(net.sf.cglib.proxy.MethodProxy methodProxy)
setProxy
public void setProxy(java.lang.Object proxy)
Copyright © 2004 Shen Li. All Rights Reserved.