Uses of Class
i3.dragos.core.services.transactions.TransactionException

Packages that use TransactionException
i3.dragos.core.services.transactions The Transaction service. 
i3.dragos.core.services.transactions.localmgr A custom transaction service implementation. 
 

Uses of TransactionException in i3.dragos.core.services.transactions
 

Methods in i3.dragos.core.services.transactions that throw TransactionException
 void Transaction.begin()
          Starts the scope of a transaction
 void Transaction.commit()
          Commits the transaction.
 Transaction TransactionManager.createTransaction()
          Creates a Transaction object for the specific implementation.
 Transaction TransactionManager.getCurrentTransaction()
          Gets the currently active Transaction, if any.
 DataSourceTransaction Transaction.getDataSourceTransaction(DataSourceURL dataSourceURL)
          Returns the associated DataSourceTransaction for this Transaction (or one of them if this is a distributed transaction).
 java.util.Collection<GraphEntity> Transaction.getDirtyGraphEntities()
          Returns the set of GraphEntities that are currently marked "dirty".
 java.util.Collection<GraphEntityClass> Transaction.getDirtyGraphEntityClasses()
          Returns the set of GraphEntityClasses that are currently marked "dirty".
 java.util.Collection<DataSourceURL> TransactionManager.getManagedDataSources()
          Returns a Collection of DataSourceURLs for all GraphPools managed by this TransactionManager.
 java.util.Collection<? extends Transaction> Transaction.getNestedTransactions()
          Returns a Collection containing the nested transaction (if any).
 Transaction Transaction.getParentTransaction()
          Returns the parent transaction if this is a nested transaction, null otherwise.
 Transaction.State Transaction.getState()
          Get the current state of this transaction
 TransactionManager Transaction.getTransactionManager()
          Get the TransactionManager which manages this transaction.
 boolean Transaction.isDirty()
          Returns true if there is at least one GraphEntity or GraphEntityClass in the "dirty" sets.
 void Transaction.markGraphEntitiesDirty(java.util.Collection<GraphEntity> g)
          Adds the Collection of GraphEntities to the "dirty" set.
 void Transaction.markGraphEntityClassDirty(GraphEntityClass g)
          Adds the specified GraphEntityClass to the "dirty" set.
 void Transaction.markGraphEntityClassesDirty(java.util.Collection<GraphEntityClass> g)
          Adds the Collection of GraphEntityClasses to the "dirty" set.
 void Transaction.markGraphEntityDirty(GraphEntity g)
          Adds the specified GraphEntity to the "dirty" set.
 Transaction TransactionManager.requestTransaction()
          Gets the currently active Transaction or initializes a new one if none is currently active.
 void Transaction.rollback()
          Aborts the transaction, causing a rollback of all nested transactions.
 void Transaction.setRollbackOnly()
          Sets the only possible outcome of this transaction to rollback.
 void Transaction.unmarkAllGraphEnitiesDirty(DataSourceURL logicalURL)
          Removes all GraphEntity marked as dirty from the dirty set that belong to a GraphPool identified by the (logical) DataSourceURL.
 void Transaction.unmarkAllGraphEnityClassesDirty(DataSourceURL logicalURL)
          Removes all GraphEntityClass marked as dirty from the dirty set that belong to a GraphPool identified by the (logical) DataSourceURL.
 void Transaction.unmarkGraphEntitiesDirty(java.util.Collection<GraphEntity> g)
          Bulk version of Transaction.unmarkGraphEntityDirty(GraphEntity).
 void Transaction.unmarkGraphEntityClassDirty(GraphEntityClass g)
          Removes the specified GraphEntityClass from the "dirty" set of the top-level transcation and all its (grand^*)children (which obviously always includes the transaction this method was called on).
 void Transaction.unmarkGraphEntityClassesDirty(java.util.Collection<GraphEntityClass> g)
          Bulk version of Transaction.unmarkGraphEntityClassDirty(GraphEntityClass).
 void Transaction.unmarkGraphEntityDirty(GraphEntity g)
          Removes the specified GraphEntity from the "dirty" set of the top-level transcation and all its (grand^*)children (which obviously always includes the transaction this method was called on).
static void TransactionValidator.validate(Transaction transaction, boolean remove)
          This method performs the consistency checks on GraphEntities and GraphEntityClasses marked "dirty" in a Collection.
 

Uses of TransactionException in i3.dragos.core.services.transactions.localmgr
 

Methods in i3.dragos.core.services.transactions.localmgr that throw TransactionException
 void LocalTransaction.begin()
          Starts the scope of a transaction
 void LocalTransaction.commit()
          Commits the transaction.
protected  void LocalTransaction.commitHook()
          A hook for subclasses which is called after the commit of any transaction, but before the state is set to (PRE)COMMITTED or any event is fired.
 Transaction LocalTransactionManager.createTransaction()
          Creates a Transaction object for the specific implementation.
protected  LocalTransaction LocalTransactionManager.createTransaction0(DataSource[] ds, LocalTransaction parentTransaction)
          Factory method for transactions.
 Transaction LocalTransactionManager.getCurrentTransaction()
          Gets the currently active Transaction, if any.
 java.util.Set<GraphEntity> LocalTransaction.getDirtyGraphEntities()
          Returns the set of GraphEntities that are currently marked "dirty".
 java.util.Set<GraphEntityClass> LocalTransaction.getDirtyGraphEntityClasses()
          Returns the set of GraphEntityClasses that are currently marked "dirty".
 java.util.Collection<DataSourceURL> LocalTransactionManager.getManagedDataSources()
          Returns a Collection of DataSourceURLs for all GraphPools managed by this TransactionManager.
 java.util.Collection<LocalTransaction> LocalTransaction.getNestedTransactions()
          Returns a Collection containing the nested transaction (if any).
 boolean LocalTransaction.isDirty()
          Returns true if there is at least one GraphEntity or GraphEntityClass in the "dirty" sets.
 void LocalTransaction.markGraphEntitiesDirty(java.util.Collection<GraphEntity> g)
          Adds the Collection of GraphEntities to the "dirty" set.
 void LocalTransaction.markGraphEntityClassDirty(GraphEntityClass g)
          Adds the specified GraphEntityClass to the "dirty" set.
 void LocalTransaction.markGraphEntityClassesDirty(java.util.Collection<GraphEntityClass> g)
          Adds the Collection of GraphEntityClasses to the "dirty" set.
 void LocalTransaction.markGraphEntityDirty(GraphEntity g)
          Adds the specified GraphEntity to the "dirty" set.
protected  void LocalTransaction.prepareCommitHook()
          A hook for subclasses which is called after the "prepare commit" stage of any transaction, between the first and second phase of the 2-phase-commit protocol.
protected  void LocalTransaction.propagateTransactionEvent(int type)
          This helper method of LocalTransaction.commit() and LocalTransaction.rollback() is responsible for firing TransactionEvents for nested transactions recursively in reverse order of creation and finally also for this method.
 Transaction LocalTransactionManager.requestTransaction()
          Gets the currently active Transaction or initializes a new one if none is currently active.
 void LocalTransaction.rollback()
          Aborts the transaction, causing a rollback of all nested transactions.
protected  void LocalTransaction.rollbackHook()
          A hook for subclasses which is called after the rollback of any transaction, but before the state is set to ROLLED_BACK or any event is fired.
 void LocalTransaction.setRollbackOnly()
          Sets the only possible outcome of this transaction to rollback.
 void LocalTransaction.unmarkAllGraphEnitiesDirty(DataSourceURL logicalURL)
          Removes all GraphEntity marked as dirty from the dirty set that belong to a GraphPool identified by the (logical) DataSourceURL.
 void LocalTransaction.unmarkAllGraphEnityClassesDirty(DataSourceURL logicalURL)
          Removes all GraphEntityClass marked as dirty from the dirty set that belong to a GraphPool identified by the (logical) DataSourceURL.
 void LocalTransaction.unmarkGraphEntitiesDirty(java.util.Collection<GraphEntity> g)
          Bulk version of Transaction.unmarkGraphEntityDirty(GraphEntity).
 void LocalTransaction.unmarkGraphEntityClassDirty(GraphEntityClass g)
          Removes the specified GraphEntityClass from the "dirty" set of the top-level transcation and all its (grand^*)children (which obviously always includes the transaction this method was called on).
 void LocalTransaction.unmarkGraphEntityClassesDirty(java.util.Collection<GraphEntityClass> g)
          Bulk version of Transaction.unmarkGraphEntityClassDirty(GraphEntityClass).
 void LocalTransaction.unmarkGraphEntityDirty(GraphEntity g)
          Removes the specified GraphEntity from the "dirty" set of the top-level transcation and all its (grand^*)children (which obviously always includes the transaction this method was called on).
 

Constructors in i3.dragos.core.services.transactions.localmgr that throw TransactionException
LocalTransaction(DataSource[] ds, LocalTransaction parentTransaction, LocalTransactionManager mgr)
          Creates a new LocalTransaction.
 



Copyright © 2002-2008 RWTH Aachen, Department of Computer Science 3 (Software Engineering). All Rights Reserved.