javax.resource.cci
Interface LocalTransaction


public interface LocalTransaction

The LocalTransaction interface is the transaction demarcation interface for transactions local to the resource manager. This interface is used for application level transaction demarcation, the spi.LocalTransaction interface is used for transaction management within a resource adapter. Implementation of this interface is optional for a resource manager.


Method Summary
 void begin()
          Begins a local transaction on the userlying resource.
 void commit()
          Commits a local transaction on the userlying resource.
 void rollback()
          Rolls back a local transaction on the userlying resource.
 

Method Detail

begin

public void begin()
           throws ResourceException (src) 
Begins a local transaction on the userlying resource.

Throws:
ResourceException (src)

commit

public void commit()
            throws ResourceException (src) 
Commits a local transaction on the userlying resource.

Throws:
ResourceException (src)

rollback

public void rollback()
              throws ResourceException (src) 
Rolls back a local transaction on the userlying resource.

Throws:
ResourceException (src)