C# 클래스 Apache.NMS.ActiveMQ.TransactionContext

상속: ISinglePhaseNotification
파일 보기 프로젝트 열기: ThorTech/apache-nms 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AfterCommit void
AfterRollback void
BeforeEnd void
TryRecoverBrokerTXIds XATransactionId[]

공개 메소드들

메소드 설명
AddSynchronization ( ISynchronization synchronization ) : void

Method AddSynchronization

Begin ( ) : void
Begin ( Transaction transaction ) : void
Commit ( ) : void
Commit ( Enlistment enlistment ) : void
InDoubt ( Enlistment enlistment ) : void
InitializeDtcTxContext ( ) : void

Should be called from NetTxSession when created to check if any TX data is stored for recovery and whether the Broker has matching info stored. If an Transaction is found that belongs to this client and is still alive on the Broker it will be recovered, otherwise the stored data should be cleared.

Prepare ( PreparingEnlistment preparingEnlistment ) : void
RemoveSynchronization ( ISynchronization synchronization ) : void
Rollback ( ) : void
Rollback ( Enlistment enlistment ) : void
SinglePhaseCommit ( SinglePhaseEnlistment enlistment ) : void
TransactionContext ( Session session )

비공개 메소드들

메소드 설명
AfterCommit ( ) : void
AfterRollback ( ) : void
BeforeEnd ( ) : void
TryRecoverBrokerTXIds ( ) : XATransactionId[]

메소드 상세

AddSynchronization() 공개 메소드

Method AddSynchronization
public AddSynchronization ( ISynchronization synchronization ) : void
synchronization ISynchronization
리턴 void

Begin() 공개 메소드

public Begin ( ) : void
리턴 void

Begin() 공개 메소드

public Begin ( Transaction transaction ) : void
transaction Transaction
리턴 void

Commit() 공개 메소드

public Commit ( ) : void
리턴 void

Commit() 공개 메소드

public Commit ( Enlistment enlistment ) : void
enlistment Enlistment
리턴 void

InDoubt() 공개 메소드

public InDoubt ( Enlistment enlistment ) : void
enlistment Enlistment
리턴 void

InitializeDtcTxContext() 공개 메소드

Should be called from NetTxSession when created to check if any TX data is stored for recovery and whether the Broker has matching info stored. If an Transaction is found that belongs to this client and is still alive on the Broker it will be recovered, otherwise the stored data should be cleared.
public InitializeDtcTxContext ( ) : void
리턴 void

Prepare() 공개 메소드

public Prepare ( PreparingEnlistment preparingEnlistment ) : void
preparingEnlistment PreparingEnlistment
리턴 void

RemoveSynchronization() 공개 메소드

public RemoveSynchronization ( ISynchronization synchronization ) : void
synchronization ISynchronization
리턴 void

Rollback() 공개 메소드

public Rollback ( ) : void
리턴 void

Rollback() 공개 메소드

public Rollback ( Enlistment enlistment ) : void
enlistment Enlistment
리턴 void

SinglePhaseCommit() 공개 메소드

public SinglePhaseCommit ( SinglePhaseEnlistment enlistment ) : void
enlistment SinglePhaseEnlistment
리턴 void

TransactionContext() 공개 메소드

public TransactionContext ( Session session )
session Session