|
CICS® Transaction Gateway Programming Reference v1.1.0.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.connector2.cics.CCILocalTransaction
public final class CCILocalTransaction
A CCILocalTransaction object is used to control the Transaction state of the ECI Connector. The objects methods can only be used however when no other transactions are in progress and then only if AutoCommit is not set to true on its Connection.
Access to the CCILocalTransaction object is provided exclusively through the ECIConnection.getLocalTransaction() method.
Method Summary | |
---|---|
void |
begin()
Begins a new Local Transaction for the related Connection. |
void |
commit()
Commits the current Local Transaction on the CICS Server. |
void |
rollback()
Reverts the state of the CICS Server to that before begin() was called. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void begin() throws javax.resource.ResourceException
begin
in interface javax.resource.cci.LocalTransaction
javax.resource.ResourceException
- Thrown if the begin fails.public void commit() throws javax.resource.ResourceException
commit
in interface javax.resource.cci.LocalTransaction
javax.resource.ResourceException
- Thrown if the commit fails.public void rollback() throws javax.resource.ResourceException
rollback
in interface javax.resource.cci.LocalTransaction
javax.resource.ResourceException
- Thrown if the backout fails.
|
©Copyright IBM Corp. 1994, 2014 Legal |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |