com.metamatrix.platform.config.spi.xml
Class XMLConfigurationTransaction

java.lang.Object
  extended by com.metamatrix.platform.config.spi.xml.ConfigTransaction
      extended by com.metamatrix.platform.config.spi.xml.XMLConfigurationTransaction

public class XMLConfigurationTransaction
extends ConfigTransaction


Field Summary
 
Fields inherited from class com.metamatrix.platform.config.spi.xml.ConfigTransaction
NO_SERVER_INITIALIZATION_ACTION, SERVER_FORCE_INITIALIZATION, SERVER_INITIALIZATION, SERVER_SHUTDOWN, SERVER_STARTED
 
Constructor Summary
XMLConfigurationTransaction(XMLConfigurationMgr mgr, TransactionID txnID, long defaultTimeoutSeconds)
           
 
Method Summary
 void commit()
          Complete the transaction represented by this TransactionObject.
 void rollback()
          Roll back the transaction represented by this TransactionObject.
 
Methods inherited from class com.metamatrix.platform.config.spi.xml.ConfigTransaction
addObjects, begin, contains, getAction, getBeginTime, getLockAcquiredBy, getObject, getObjects, getStatus, getTransactionID, isReadOnly, setAction, setRollbackOnly
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLConfigurationTransaction

public XMLConfigurationTransaction(XMLConfigurationMgr mgr,
                                   TransactionID txnID,
                                   long defaultTimeoutSeconds)
Method Detail

commit

public void commit()
            throws TransactionException
Complete the transaction represented by this TransactionObject.

Overrides:
commit in class ConfigTransaction
Throws:
TransactionException - if the transaction is unable to commit.

rollback

public void rollback()
              throws TransactionException
Description copied from class: ConfigTransaction
Roll back the transaction represented by this TransactionObject.

Overrides:
rollback in class ConfigTransaction
Throws:
TransactionException - if the transaction is unable to roll back.


Copyright © 2009. All Rights Reserved.