com.sleepycat.je.jca.ra
Class JELocalTransaction

java.lang.Object
  extended by com.sleepycat.je.jca.ra.JELocalTransaction
All Implemented Interfaces:
javax.resource.spi.LocalTransaction

public class JELocalTransaction
extends java.lang.Object
implements javax.resource.cci.LocalTransaction, javax.resource.spi.LocalTransaction


Method Summary
 void begin()
           
 void commit()
           
protected  XAEnvironment getEnv()
           
 Transaction getTransaction()
           
 void rollback()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTransaction

public Transaction getTransaction()
                           throws DatabaseException
Throws:
DatabaseException

getEnv

protected XAEnvironment getEnv()

begin

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

commit

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

rollback

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