public class RollbackInterceptor extends java.lang.Object implements Interceptor
| 构造器和说明 |
|---|
RollbackInterceptor() |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.Object |
doIntercept(Invocation inv)
拦截
|
static void |
rollbackDo(RunnableEx runnable)
回滚事务
|
public java.lang.Object doIntercept(Invocation inv) throws java.lang.Throwable
InterceptordoIntercept 在接口中 Interceptorinv - 调用者java.lang.Throwablepublic static void rollbackDo(RunnableEx runnable) throws java.lang.Throwable
java.lang.Throwable