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