public class TranListenerSet extends java.lang.Object implements TranListener
STATUS_COMMITTED, STATUS_ROLLED_BACK, STATUS_UNKNOWN
构造器和说明 |
---|
TranListenerSet() |
限定符和类型 | 方法和说明 |
---|---|
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, wait
getIndex
public void add(TranListener listener)
public void beforeCommit(boolean readOnly) throws java.lang.Throwable
beforeCommit
在接口中 TranListener
java.lang.Throwable
public void beforeCompletion()
beforeCompletion
在接口中 TranListener
public void afterCommit()
afterCommit
在接口中 TranListener
public void afterCompletion(int status)
afterCompletion
在接口中 TranListener
status
- 状态