net.neoremind.dynamicproxy.support
类 ReflectionInvocation

java.lang.Object
  继承者 net.neoremind.dynamicproxy.support.ReflectionInvocation
所有已实现的接口:
Invocation

public class ReflectionInvocation
extends Object
implements Invocation

作者:
zhangxu

构造方法摘要
ReflectionInvocation(Object target, Object proxy, Method method, Object[] arguments)
           
 
方法摘要
 Object[] getArguments()
          获取方法调用参数
 Method getMethod()
          返回方法对象
 Object getProxy()
          返回代理对象
 Object proceed()
          触发拦截器调用链
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ReflectionInvocation

public ReflectionInvocation(Object target,
                            Object proxy,
                            Method method,
                            Object[] arguments)
方法详细信息

getArguments

public Object[] getArguments()
从接口 Invocation 复制的描述
获取方法调用参数

指定者:
接口 Invocation 中的 getArguments
返回:
方法调用参数

getMethod

public Method getMethod()
从接口 Invocation 复制的描述
返回方法对象

指定者:
接口 Invocation 中的 getMethod
返回:
方法对象

getProxy

public Object getProxy()
从接口 Invocation 复制的描述
返回代理对象

指定者:
接口 Invocation 中的 getProxy
返回:
代理对象

proceed

public Object proceed()
               throws Throwable
从接口 Invocation 复制的描述
触发拦截器调用链

指定者:
接口 Invocation 中的 proceed
返回:
调用结果
抛出:
Throwable


Copyright © 2016 neoremind. All rights reserved.