com.rhi.architecture.xa
Class NullTransaction

java.lang.Object
  extended bycom.rhi.architecture.xa.NullTransaction
All Implemented Interfaces:
Transaction

public class NullTransaction
extends java.lang.Object
implements Transaction

Empty implementation to facilitate ease of use when developing new PARC applications. This is probably only useful for testing.

Author:
pete mckinstry

Field Summary
 
Fields inherited from interface com.rhi.architecture.xa.Transaction
TYPE_KEY
 
Constructor Summary
NullTransaction()
          Constructor for NullTransaction.
 
Method Summary
 void begin()
          Start a new transaction.
 void commit()
          Commit the transaction represented by this object.
 void rollback()
          Rollback the transaction represented by this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullTransaction

public NullTransaction()
Constructor for NullTransaction.

Method Detail

begin

public void begin()
           throws TransactionException
Description copied from interface: Transaction
Start a new transaction.

Specified by:
begin in interface Transaction
Throws:
TransactionException
See Also:
Transaction.begin()

commit

public void commit()
            throws TransactionException
Description copied from interface: Transaction
Commit the transaction represented by this object.

Specified by:
commit in interface Transaction
Throws:
TransactionException
See Also:
Transaction.commit()

rollback

public void rollback()
              throws TransactionException
Description copied from interface: Transaction
Rollback the transaction represented by this object.

Specified by:
rollback in interface Transaction
Throws:
TransactionException
See Also:
Transaction.rollback()


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