Class MFECILocalTransaction

An implementation class that defines a local transaction demarcation at the application level.
java.lang.Object

extended by com.microfocus.cics.connector.cci.MFECILocalTransaction

All Implemented Interfaces

Interaction

Class Specifications

public class MFECILocalTransaction

extends Object

implements javax.resource.cci.LocalTransaction

Constructor Summary

MFECILocalTransaction()
MFECILocalTransaction(MFECIManagedConnection mc)
Construct an MFECILocalTransaction instance.

Methods

Method Summary
void begin()

Begin a local transaction.

void commit()

Commit a user-defined local transaction.

void rollback()

Roll back a user-defined local transaction.

void setManagedConnection(MFECIManagedConnection mc)
void setReset()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

MFECILocalTransaction
public MFECILocalTransaction(MFECIManagedConnection mc)

Construct an MFECILocalTransaction instance.

Parameters:
mc The MFECIManagedConnection instance.
MFECILocalTransaction
public MFECILocalTransaction()

Method Detail

setManagedConnection
public void setManagedConnection(MFECIManagedConnection mc)
begin
public void begin()
           throws javax.resource.ResourceException

Begin a local transaction.

Specified by:
begin in interface javax.resource.ResourceException
Throws:
javax.resource.ResourceException
commit
public void commit()
            throws javax.resource.ResourceException

Commit a user-defined local transaction.

Specified by:
commit in interface javax.resource.ResourceException
Throws:
javax.resource.ResourceException
rollback
public void rollback()
              throws javax.resource.ResourceException

Roll back a user-defined local transaction.

Specified by:
rollback in interface javax.resource.ResourceException
Throws:
javax.resource.ResourceException
setReset
public void setReset()