| 构造器和说明 |
|---|
AspectProxy() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
after(Class<?> cls,
Method method,
Object[] params,
Object result) |
void |
before(Class<?> cls,
Method method,
Object[] params) |
void |
begin() |
Object |
doProxy(ProxyChain proxyChain)
执行链式代理
|
void |
end() |
void |
error(Class<?> cls,
Method method,
Object[] params,
Throwable e) |
boolean |
intercept(Class<?> cls,
Method method,
Object[] params) |
public Object doProxy(ProxyChain proxyChain) throws Throwable
Proxypublic void begin()
public boolean intercept(Class<?> cls, Method method, Object[] params) throws Throwable
Throwablepublic void before(Class<?> cls, Method method, Object[] params) throws Throwable
Throwablepublic void after(Class<?> cls, Method method, Object[] params, Object result) throws Throwable
Throwablepublic void end()
Copyright © 2017. All rights reserved.