📄 transactionlistener.java
字号:
/*
* Licensed under the X license (see http://www.x.org/terms.htm)
*/
package org.ofbiz.minerva.pool.jdbc.xa.wrapper;
/**
* Callback for notification when a transaction is finished.
*
* @author Aaron Mulder (ammulder@alumni.princeton.edu)
*/
public interface TransactionListener {
/**
* Indicates that the transaction this instance was part of has finished.
*/
public void transactionFinished(XAConnectionImpl con);
/**
* Indicates that the transaction this instance was part of has finished,
* and there was a fatal error. Any pooled resources should be recycled.
*/
public void transactionFailed(XAConnectionImpl con);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -