transactionlistener.java
来自「国外的一套开源CRM」· Java 代码 · 共 25 行
JAVA
25 行
/*
* 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 + =
减小字号Ctrl + -
显示快捷键?