Class SpiLocalTransaction

Provides support for transactions that are managed internal to an EIS resource manager, and do not require an external transaction manager.
Restriction: This topic applies only when the Enterprise Server feature is enabled.
java.lang.Object

extended by com.microfocus.cobol.connector.spi.SpiLocalTransaction

All Implemented Interfaces

LocalTransaction, Serializable

Class Specifications

public class SpiLocalTransaction

extends Object

implements LocalTransaction, Serializable

See Also:

Serialized Form

Constructor Summary

SpiLocalTransaction()

Methods

Method Summary
void begin()
void commit()
void rollback()
void rollback()
void setReset()
void setManagedConnection()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait

Constructor Detail

SpiLocalTransaction
public SpiLocalTransaction()

Method Detail

begin
public void begin()
           throws ResourceException
Specified by:
begin in interface LocalTransaction
Throws:
ResourceException
commit
public void commit()
            throws ResourceException
Specified by:
commit in interface LocalTransaction
Throws:
ResourceException
rollback
public void rollback()
              throws ResourceException
Specified by:
rollback in interface LocalTransaction
Throws:
ResourceException
setReset
public void setReset()
setManagedConnection
public void setManagedConnection(CobolManagedConnection mc)