com.rhi.architecture.xa
Interface JDOTransaction

All Superinterfaces:
Transaction
All Known Implementing Classes:
JDOTransactionImpl

public interface JDOTransaction
extends Transaction

Interface for managing JDO based transactions.

Since:
1.0
Author:
Pete McKinstry

Field Summary
 
Fields inherited from interface com.rhi.architecture.xa.Transaction
TYPE_KEY
 
Method Summary
 void begin()
          Start a new transaction.
 void commit()
          Commit the transaction represented by this object.
 org.exolab.castor.jdo.Database getDatabase()
          Get the Database associated w/ this Transaction
 void rollback()
          Rollback the transaction represented by this object.
 

Method Detail

getDatabase

public org.exolab.castor.jdo.Database getDatabase()
Get the Database associated w/ this Transaction

Returns:
Database
Since:
1.0

begin

public void begin()
           throws TransactionException
Start a new transaction.

Specified by:
begin in interface Transaction
Throws:
TransactionException
Since:
1.0

commit

public void commit()
            throws TransactionException
Commit the transaction represented by this object.

Specified by:
commit in interface Transaction
Throws:
TransactionException
Since:
1.0

rollback

public void rollback()
              throws TransactionException
Rollback the transaction represented by this object.

Specified by:
rollback in interface Transaction
Throws:
TransactionException
Since:
1.0


Copyright © 2002-2004 Robert Half International. All Rights Reserved.