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 Object
implements javax.resource.cci.LocalTransaction, javax.resource.spi.LocalTransaction


Constructor Summary
JELocalTransaction(XAEnvironment env, TransactionConfig transConfig, JEManagedConnection mgdConn)
           
 
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
 

Constructor Detail

JELocalTransaction

JELocalTransaction(XAEnvironment env,
                   TransactionConfig transConfig,
                   JEManagedConnection mgdConn)
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


Copyright 2004-2005 Sleepycat, Inc. All Rights Reserved.