com.jdon.aop.reflection
类 ProxyMethodInvocation

java.lang.Object
  继承者 com.jdon.aop.reflection.ProxyMethodInvocation
所有已实现的接口:
Serializable, org.aopalliance.intercept.Invocation, org.aopalliance.intercept.Joinpoint, org.aopalliance.intercept.MethodInvocation

public class ProxyMethodInvocation
extends Object
implements org.aopalliance.intercept.MethodInvocation, Serializable

MethodInvocation Implemention by this class, Interceptor will action.

作者:
banq
另请参见:
序列化表格

字段摘要
protected  int currentInterceptorInt
           
protected  List<org.aopalliance.intercept.MethodInterceptor> interceptors
           
protected  MethodInvokerUtil mUtil
           
protected  TargetServiceFactory targetServiceFactory
           
 
构造方法摘要
ProxyMethodInvocation(List<org.aopalliance.intercept.MethodInterceptor> interceptors, TargetMetaRequestsHolder targetMetaRequestsHolder, TargetServiceFactory targetServiceFactory, Method method, Object[] args)
           
 
方法摘要
 Object[] getArguments()
           
 Method getMethod()
           
 AccessibleObject getStaticPart()
           
 Object getThis()
           
 Object proceed()
          Invokes next interceptor/proxy target. now there is no mixin
 void setThis(Object target)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

targetServiceFactory

protected final TargetServiceFactory targetServiceFactory

interceptors

protected final List<org.aopalliance.intercept.MethodInterceptor> interceptors

mUtil

protected final MethodInvokerUtil mUtil

currentInterceptorInt

protected int currentInterceptorInt
构造方法详细信息

ProxyMethodInvocation

public ProxyMethodInvocation(List<org.aopalliance.intercept.MethodInterceptor> interceptors,
                             TargetMetaRequestsHolder targetMetaRequestsHolder,
                             TargetServiceFactory targetServiceFactory,
                             Method method,
                             Object[] args)
方法详细信息

proceed

public Object proceed()
               throws Throwable
Invokes next interceptor/proxy target. now there is no mixin

指定者:
接口 org.aopalliance.intercept.Joinpoint 中的 proceed
抛出:
Throwable

getArguments

public Object[] getArguments()
指定者:
接口 org.aopalliance.intercept.Invocation 中的 getArguments

getThis

public Object getThis()
指定者:
接口 org.aopalliance.intercept.Joinpoint 中的 getThis

setThis

public void setThis(Object target)

getStaticPart

public AccessibleObject getStaticPart()
指定者:
接口 org.aopalliance.intercept.Joinpoint 中的 getStaticPart

getMethod

public Method getMethod()
指定者:
接口 org.aopalliance.intercept.MethodInvocation 中的 getMethod


Copyright © 2013. All Rights Reserved.