com.sun.genericra.outbound
Class LocalTransactionImpl

java.lang.Object
  extended by com.sun.genericra.outbound.LocalTransactionImpl
All Implemented Interfaces:
javax.resource.spi.LocalTransaction

public class LocalTransactionImpl
extends java.lang.Object
implements javax.resource.spi.LocalTransaction

LocalTransaction implementation for Generic JMS Resource Adapter.

Author:
Sivakumar Thyagarajan

Constructor Summary
LocalTransactionImpl(ManagedConnection mc)
          Constructor for LocalTransaction.
 
Method Summary
 void begin()
          Begin a local transaction.
 void commit()
          Commit a local transaction.
 void rollback()
          Rollback a local transaction.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalTransactionImpl

public LocalTransactionImpl(ManagedConnection mc)
Constructor for LocalTransaction.

Parameters:
mc - ManagedConnection that returns this LocalTransaction object as a result of getLocalTransaction
Method Detail

begin

public void begin()
           throws javax.resource.ResourceException
Begin a local transaction.

Specified by:
begin in interface javax.resource.spi.LocalTransaction
Throws:
javax.resource.ResourceException

commit

public void commit()
            throws javax.resource.ResourceException
Commit a local transaction.

Specified by:
commit in interface javax.resource.spi.LocalTransaction
Throws:
javax.resource.ResourceException

rollback

public void rollback()
              throws javax.resource.ResourceException
Rollback a local transaction.

Specified by:
rollback in interface javax.resource.spi.LocalTransaction
Throws:
javax.resource.ResourceException