List of usage examples for javax.resource.cci LocalTransaction commit
public void commit() throws ResourceException;
From source file:org.mule.transport.cics.CtgAdapter.java
/** * @param <code>Connection</code> mainframe connection * Commit the CICS transaction./*from w w w . j ava 2s . c o m*/ * */ public void commit(Connection con) throws Exception { if (con == null) return; LocalTransaction tran = con.getLocalTransaction(); if (tran != null) { tran.commit(); // commits a transaction if (logger.isInfoEnabled()) { logger.info("CICS-Transaction [" + this.transactionID + "] commit."); } } }