public class TranListenerSet extends Object implements TranListener
STATUS_COMMITTED, STATUS_ROLLED_BACK, STATUS_UNKNOWN| Constructor and Description |
|---|
TranListenerSet() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(TranListener listener)
添加监听器
|
void |
afterCommit()
提交之后
|
void |
afterCompletion(int status)
完成之后
|
void |
beforeCommit(boolean readOnly)
提交之前
|
void |
beforeCompletion()
完成之前
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIndexpublic void add(TranListener listener)
public void beforeCommit(boolean readOnly)
throws Throwable
beforeCommit in interface TranListenerThrowablepublic void beforeCompletion()
beforeCompletion in interface TranListenerpublic void afterCommit()
afterCommit in interface TranListenerpublic void afterCompletion(int status)
afterCompletion in interface TranListenerstatus - 状态Copyright © 2025. All rights reserved.