net.neoremind.dynamicproxy
接口 Invocation

所有已知实现类:
JavassistInvocation, ReflectionInvocation

public interface Invocation

调用接口,类似org.aopalliance.intercept中的Invocation接口

作者:
zhangxu

方法摘要
 Object[] getArguments()
          获取方法调用参数
 Method getMethod()
          返回方法对象
 Object getProxy()
          返回代理对象
 Object proceed()
          触发拦截器调用链
 

方法详细信息

getArguments

Object[] getArguments()
获取方法调用参数

返回:
方法调用参数

getMethod

Method getMethod()
返回方法对象

返回:
方法对象

getProxy

Object getProxy()
返回代理对象

返回:
代理对象

proceed

Object proceed()
               throws Throwable
触发拦截器调用链

返回:
调用结果
抛出:
Throwable


Copyright © 2016 neoremind. All rights reserved.