Uses of Class
org.apache.jackrabbit.core.TransactionContext

Packages that use TransactionContext
org.apache.jackrabbit.core Contains the core classes that provide the implementation of the JCR API. 
org.apache.jackrabbit.core.lock   
org.apache.jackrabbit.core.state   
org.apache.jackrabbit.core.version The versioning framework in jackrabbit consists of 3 layers. 
 

Uses of TransactionContext in org.apache.jackrabbit.core
 

Methods in org.apache.jackrabbit.core with parameters of type TransactionContext
 void XASessionImpl.associate(TransactionContext tx)
          Associate this session with a global transaction.
 void InternalXAResource.associate(TransactionContext tx)
          Associate this resource with a transaction.
 void InternalXAResource.beforeOperation(TransactionContext tx)
          Invoked before one of the InternalXAResource.prepare(org.apache.jackrabbit.core.TransactionContext), InternalXAResource.commit(org.apache.jackrabbit.core.TransactionContext) or InternalXAResource.rollback(org.apache.jackrabbit.core.TransactionContext) method is called.
 void InternalXAResource.prepare(TransactionContext tx)
          Prepare transaction.
 void InternalXAResource.commit(TransactionContext tx)
          Commit transaction.
 void InternalXAResource.rollback(TransactionContext tx)
          Rollback transaction.
 void InternalXAResource.afterOperation(TransactionContext tx)
          Invoked after one of the InternalXAResource.prepare(org.apache.jackrabbit.core.TransactionContext), InternalXAResource.commit(org.apache.jackrabbit.core.TransactionContext) or InternalXAResource.rollback(org.apache.jackrabbit.core.TransactionContext) method has been called.
 

Uses of TransactionContext in org.apache.jackrabbit.core.lock
 

Methods in org.apache.jackrabbit.core.lock with parameters of type TransactionContext
 void XALockManager.associate(TransactionContext tx)
          Associate this resource with a transaction. All further operations on the object should be interpreted as part of this transaction and changes recorded in some attribute of the transaction context.
 void XALockManager.beforeOperation(TransactionContext tx)
          Invoked before one of the InternalXAResource.prepare(org.apache.jackrabbit.core.TransactionContext), InternalXAResource.commit(org.apache.jackrabbit.core.TransactionContext) or InternalXAResource.rollback(org.apache.jackrabbit.core.TransactionContext) method is called.
 void XALockManager.prepare(TransactionContext tx)
          Prepare transaction. The transaction is identified by a transaction context.
 void XALockManager.commit(TransactionContext tx)
          Commit transaction. The transaction is identified by a transaction context. If the method throws, other resources get their changes rolled back.

This will finish the update and unlock the shared lock manager.

 void XALockManager.rollback(TransactionContext tx)
          Rollback transaction. The transaction is identified by a transaction context.

This will undo all updates and unlock the shared lock manager.

 void XALockManager.afterOperation(TransactionContext tx)
          Invoked after one of the InternalXAResource.prepare(org.apache.jackrabbit.core.TransactionContext), InternalXAResource.commit(org.apache.jackrabbit.core.TransactionContext) or InternalXAResource.rollback(org.apache.jackrabbit.core.TransactionContext) method has been called.
 

Uses of TransactionContext in org.apache.jackrabbit.core.state
 

Methods in org.apache.jackrabbit.core.state with parameters of type TransactionContext
 void XAItemStateManager.associate(TransactionContext tx)
          Associate this resource with a transaction. All further operations on the object should be interpreted as part of this transaction and changes recorded in some attribute of the transaction context.
 void XAItemStateManager.beforeOperation(TransactionContext tx)
          Invoked before one of the InternalXAResource.prepare(org.apache.jackrabbit.core.TransactionContext), InternalXAResource.commit(org.apache.jackrabbit.core.TransactionContext) or InternalXAResource.rollback(org.apache.jackrabbit.core.TransactionContext) method is called.
 void XAItemStateManager.prepare(TransactionContext tx)
          Prepare transaction. The transaction is identified by a transaction context.
 void XAItemStateManager.commit(TransactionContext tx)
          Commit transaction. The transaction is identified by a transaction context. If the method throws, other resources get their changes rolled back.
 void XAItemStateManager.rollback(TransactionContext tx)
          Rollback transaction. The transaction is identified by a transaction context.
 void XAItemStateManager.afterOperation(TransactionContext tx)
          Invoked after one of the InternalXAResource.prepare(org.apache.jackrabbit.core.TransactionContext), InternalXAResource.commit(org.apache.jackrabbit.core.TransactionContext) or InternalXAResource.rollback(org.apache.jackrabbit.core.TransactionContext) method has been called.
 

Uses of TransactionContext in org.apache.jackrabbit.core.version
 

Methods in org.apache.jackrabbit.core.version with parameters of type TransactionContext
 void XAVersionManager.associate(TransactionContext tx)
          Associate this resource with a transaction. All further operations on the object should be interpreted as part of this transaction and changes recorded in some attribute of the transaction context.
 void XAVersionManager.beforeOperation(TransactionContext tx)
          Invoked before one of the InternalXAResource.prepare(org.apache.jackrabbit.core.TransactionContext), InternalXAResource.commit(org.apache.jackrabbit.core.TransactionContext) or InternalXAResource.rollback(org.apache.jackrabbit.core.TransactionContext) method is called.

Delegate the call to our XA item state manager.

 void XAVersionManager.prepare(TransactionContext tx)
          Prepare transaction. The transaction is identified by a transaction context.

Delegate the call to our XA item state manager.

 void XAVersionManager.commit(TransactionContext tx)
          Commit transaction. The transaction is identified by a transaction context. If the method throws, other resources get their changes rolled back.

Delegate the call to our XA item state manager.

 void XAVersionManager.rollback(TransactionContext tx)
          Rollback transaction. The transaction is identified by a transaction context.

Delegate the call to our XA item state manager.

 void XAVersionManager.afterOperation(TransactionContext tx)
          Invoked after one of the InternalXAResource.prepare(org.apache.jackrabbit.core.TransactionContext), InternalXAResource.commit(org.apache.jackrabbit.core.TransactionContext) or InternalXAResource.rollback(org.apache.jackrabbit.core.TransactionContext) method has been called.

Delegate the call to our XA item state manager.

 



Copyright © 2004-2006 The Apache Software Foundation. All Rights Reserved.