public abstract class Interceptor<V,R> extends Object
| Constructor and Description |
|---|
Interceptor() |
Interceptor(Interceptor<V,R> next) |
| Modifier and Type | Method and Description |
|---|---|
R |
aroundInvoke(InterceptContext<V,R> context,
Callable<R> callable) |
protected void |
cleanup(InterceptContext<V,R> context) |
protected void |
handleException(InterceptContext<V,R> context,
Throwable e) |
protected void |
postExec(InterceptContext<V,R> context) |
protected void |
preExec(InterceptContext<V,R> context) |
public Interceptor()
public Interceptor(Interceptor<V,R> next)
public R aroundInvoke(InterceptContext<V,R> context, Callable<R> callable) throws Throwable
Throwableprotected void handleException(InterceptContext<V,R> context, Throwable e)
protected void cleanup(InterceptContext<V,R> context)
protected void postExec(InterceptContext<V,R> context)
protected void preExec(InterceptContext<V,R> context)
Copyright © 2015. All Rights Reserved.