public abstract class AbstractInterceptor extends Object implements ConcreteInterceptor
| 构造器和说明 |
|---|
AbstractInterceptor() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
accept(RuntimeContext context) |
Object |
after(RuntimeContext context,
org.aopalliance.intercept.MethodInvocation joinPoint,
Object result) |
Object |
around(RuntimeContext context,
org.aopalliance.intercept.MethodInvocation joinPoint) |
void |
before(RuntimeContext context,
org.aopalliance.intercept.MethodInvocation joinPoint) |
protected static RuntimeContext |
getContext(org.aopalliance.intercept.MethodInvocation joinPoint) |
Object |
invoke(org.aopalliance.intercept.MethodInvocation invocation) |
Throwable |
onError(RuntimeContext context,
org.aopalliance.intercept.MethodInvocation joinPoint,
Throwable th) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOrderprotected static final RuntimeContext getContext(org.aopalliance.intercept.MethodInvocation joinPoint)
public Object invoke(org.aopalliance.intercept.MethodInvocation invocation) throws Throwable
invoke 在接口中 org.aopalliance.intercept.MethodInterceptorinvoke 在接口中 ConcreteInterceptorThrowablepublic boolean accept(RuntimeContext context)
accept 在接口中 ConcreteInterceptorpublic Object around(RuntimeContext context, org.aopalliance.intercept.MethodInvocation joinPoint) throws Throwable
around 在接口中 ConcreteInterceptorThrowablepublic void before(RuntimeContext context, org.aopalliance.intercept.MethodInvocation joinPoint)
before 在接口中 ConcreteInterceptorpublic Object after(RuntimeContext context, org.aopalliance.intercept.MethodInvocation joinPoint, Object result)
after 在接口中 ConcreteInterceptorpublic Throwable onError(RuntimeContext context, org.aopalliance.intercept.MethodInvocation joinPoint, Throwable th)
onError 在接口中 ConcreteInterceptorCopyright © 2017. All rights reserved.