Modifier and Type | Method and Description |
---|---|
abstract void |
UserTransaction.begin()
Start a new transaction.
|
abstract void |
UserBusinessActivity.begin()
Start a new business activity with atomic outcome.
|
abstract void |
UserTransaction.begin(int timeout)
Start a new transaction with the specified timeout as its lifetime.
|
abstract void |
UserBusinessActivity.begin(int timeout)
Start a new BA with atomic outcome and the specified timeout as
its lifetime.
|
abstract void |
UserBusinessActivity.cancel()
If the BA must undo its work then the cancel method is used.
|
abstract void |
UserBusinessActivity.close()
The BA is normally terminated by the close method.
|
abstract void |
UserTransaction.commit()
The transaction is committed by the commit method.
|
abstract void |
UserBusinessActivity.complete()
If participants have registered for the BusinessAgreementWithComplete
protocol then they will be expecting the application to inform them
when all work intended for them has been sent (and responded to).
|
abstract BAParticipantManager |
BusinessActivityManager.enlistForBusinessAgreementWithCoordinatorCompletion(BusinessAgreementWithCoordinatorCompletionParticipant bawcp,
String id)
Enlist a participant for the BusinessAgreementWithCoordinatorCompletion protocol.
|
abstract BAParticipantManager |
BusinessActivityManager.enlistForBusinessAgreementWithParticipantCompletion(BusinessAgreementWithParticipantCompletionParticipant bap,
String id)
Enlist a participant for the BusinessAgreement protocol.
|
abstract void |
TransactionManager.enlistForDurableTwoPhase(Durable2PCParticipant tpp,
String id)
Enlist the specified participant with current transaction such that it
will participate in the 2PC protocol; a unique identifier for the
participant is also required.
|
abstract void |
TransactionManager.enlistForVolatileTwoPhase(Volatile2PCParticipant pzp,
String id)
Enlist the specified participant with current transaction such that it
will participate in the Volatile 2PC protocol; a unique identifier for
the participant is also required.
|
abstract void |
UserTransaction.rollback()
The rollback operation will terminate the transaction and return
normally if it succeeded, while throwing an appropriate exception if it
didn't.
|
Modifier and Type | Method and Description |
---|---|
void |
UserTransactionStandaloneImple.begin() |
void |
UserTransactionImple.begin() |
void |
UserSubordinateTransactionImple.begin() |
void |
UserTransactionStandaloneImple.begin(int timeout) |
void |
UserTransactionImple.begin(int timeout) |
void |
UserSubordinateTransactionImple.begin(int timeout)
Start a new subordinate transaction with the specified timeout as its lifetime.
|
void |
UserTransactionStandaloneImple.beginSubordinate(int timeout)
method provided for the benefit of UserSubordinateTransactionImple to allow it
to begin a subordinate transaction which requires an existing context to be
installed on the thread before it will start and instal la new transaction
|
void |
UserTransactionImple.beginSubordinate(int timeout)
method provided for the benefit of UserSubordinateTransactionImple to allow it
to begin a subordinate transaction which requires an existing context to be
installed on the thread before it will start and instal la new transaction
|
void |
UserTransactionStandaloneImple.commit() |
void |
UserTransactionImple.commit() |
void |
UserSubordinateTransactionImple.commit()
it is inappropriate to call this even if the current transaction is a top level AT
transaction so we always throw a WrongStateException.
|
void |
TransactionManagerImple.enlistForDurableTwoPhase(Durable2PCParticipant tpp,
String id) |
void |
TransactionManagerImple.enlistForVolatileTwoPhase(Volatile2PCParticipant tpp,
String id) |
void |
UserTransactionStandaloneImple.rollback() |
void |
UserTransactionImple.rollback() |
void |
UserSubordinateTransactionImple.rollback()
it is inappropriate to call this even if the current transaction is a top level AT
transaction so we always throw a WrongStateException.
|
Modifier and Type | Method and Description |
---|---|
void |
UserSubordinateBusinessActivityImple.begin() |
void |
UserBusinessActivityStandaloneImple.begin() |
void |
UserBusinessActivityImple.begin() |
void |
UserSubordinateBusinessActivityImple.begin(int timeout) |
void |
UserBusinessActivityStandaloneImple.begin(int timeout) |
void |
UserBusinessActivityImple.begin(int timeout) |
void |
UserBusinessActivityStandaloneImple.beginSubordinate(int timeout) |
void |
UserBusinessActivityImple.beginSubordinate(int timeout) |
void |
UserSubordinateBusinessActivityImple.cancel() |
void |
UserBusinessActivityStandaloneImple.cancel() |
void |
UserBusinessActivityImple.cancel() |
void |
SubordinateBAParticipantManagerImple.cannotComplete() |
void |
BAParticipantManagerImple.cannotComplete() |
void |
UserSubordinateBusinessActivityImple.close() |
void |
UserBusinessActivityStandaloneImple.close() |
void |
UserBusinessActivityImple.close() |
void |
UserSubordinateBusinessActivityImple.complete() |
void |
UserBusinessActivityStandaloneImple.complete() |
void |
UserBusinessActivityImple.complete() |
void |
SubordinateBAParticipantManagerImple.completed() |
void |
BAParticipantManagerImple.completed() |
BAParticipantManager |
BusinessActivityManagerImple.enlistForBusinessAgreementWithCoordinatorCompletion(BusinessAgreementWithCoordinatorCompletionParticipant bawcp,
String id) |
BAParticipantManager |
BusinessActivityManagerImple.enlistForBusinessAgreementWithParticipantCompletion(BusinessAgreementWithParticipantCompletionParticipant bap,
String id) |
void |
SubordinateBAParticipantManagerImple.exit() |
void |
BAParticipantManagerImple.exit() |
Modifier and Type | Method and Description |
---|---|
void |
BusinessAgreementWithParticipantCompletionParticipant.cancel()
The transaction has cancelled, and the participant should undo any work.
|
void |
BusinessAgreementWithParticipantCompletionParticipant.close()
The transaction has completed successfully.
|
void |
Participant.commit()
The participant should make permanent the work that it controls.
|
void |
BusinessAgreementWithParticipantCompletionParticipant.compensate()
The transaction has cancelled.
|
void |
BusinessAgreementWithCoordinatorCompletionParticipant.complete()
The coordinator is informing the participant that all work it needs to
do within the scope of this business activity has been received.
|
Vote |
Participant.prepare()
Perform any work necessary to allow it to either commit or rollback
the work performed by the Web service under the scope of the
transaction.
|
void |
Participant.rollback()
The participant should undo the work that it controls.
|
Modifier and Type | Method and Description |
---|---|
void |
BAParticipantManager.cannotComplete()
Cannot complete.
|
void |
BAParticipantManager.completed()
The participant has completed it works, but wishes to continue in
the business activity, so that it will eventually be told when (and how)
the activity terminates.
|
void |
BAParticipantManager.exit()
The participant has exited the business activity.
|
Modifier and Type | Method and Description |
---|---|
void |
SubordinateCoordinatorCompletionParticipantStub.cancel() |
void |
BusinessAgreementWithParticipantCompletionStub.cancel() |
void |
BusinessAgreementWithCoordinatorCompletionStub.cancel() |
void |
BAParticipantCompletionParticipantManagerStub.cannotComplete() |
void |
BACoordinatorCompletionParticipantManagerStub.cannotComplete() |
void |
SubordinateCoordinatorCompletionParticipantStub.close() |
void |
BusinessAgreementWithParticipantCompletionStub.close() |
void |
BusinessAgreementWithCoordinatorCompletionStub.close() |
void |
SubordinateVolatile2PCStub.commit()
this is called as part of the after completion processing and should ensure that the interposed
coordinator performs its afterCompletion processing
|
void |
SubordinateDurable2PCStub.commit()
this will be called when the parent coordinator commits its durable participants and should ensure
that the interposed cooordinator does the same
|
void |
ParticipantStub.commit() |
void |
SubordinateCoordinatorCompletionParticipantStub.compensate() |
void |
BusinessAgreementWithParticipantCompletionStub.compensate() |
void |
BusinessAgreementWithCoordinatorCompletionStub.compensate() |
void |
SubordinateCoordinatorCompletionParticipantStub.complete() |
void |
BusinessAgreementWithCoordinatorCompletionStub.complete() |
void |
BAParticipantCompletionParticipantManagerStub.completed() |
void |
BACoordinatorCompletionParticipantManagerStub.completed() |
void |
BAParticipantCompletionParticipantManagerStub.exit() |
void |
BACoordinatorCompletionParticipantManagerStub.exit() |
Vote |
SubordinateVolatile2PCStub.prepare()
This will be called when the parent coordinator is preparing its volatile participants and should ensure
that the interposed cooordinator does the same.
|
Vote |
SubordinateDurable2PCStub.prepare()
This will be called when the parent coordinator is preparing its durable participants and should ensure
that the interposed cooordinator does the same.
|
Vote |
ParticipantStub.prepare() |
void |
SubordinateVolatile2PCStub.rollback()
this is called as part of the after completion processing and should ensure that the interposed
coordinator performs its afterCompletion processing
|
void |
SubordinateDurable2PCStub.rollback()
this will be called when the parent coordinator rolls back its durable participants and should ensure
that the interposed cooordinator does the same
|
void |
ParticipantStub.rollback() |
Modifier and Type | Method and Description |
---|---|
void |
BridgeVolatileParticipant.commit()
Perform afterCompletion cleanup activities such as releasing resources.
|
void |
BridgeDurableParticipant.commit()
The participant should make permanent the work that it controls.
|
static InboundBridge |
InboundBridgeManager.getInboundBridge()
Return an InboundBridge instance that maps the current Thread's WS transaction context
to a JTA context.
|
Vote |
BridgeVolatileParticipant.prepare()
Perform beforeCompletion activities such as flushing cached state to stable store.
|
Vote |
BridgeDurableParticipant.prepare()
Perform any work necessary to allow it to either commit or rollback
the work performed by the Web service under the scope of the
transaction.
|
void |
BridgeVolatileParticipant.rollback()
Perform afterCompletion cleanup activities such as releasing resources.
|
void |
BridgeDurableParticipant.rollback()
The participant should undo the work that it controls.
|
Modifier and Type | Method and Description |
---|---|
void |
WSBAParticipantCompletionParticipant.cancel() |
void |
WSBAParticipantCompletionParticipant.close() |
void |
WSBAParticipantCompletionParticipant.compensate() |
void |
WSBACoordinatorCompletionParticipant.complete() |
Copyright © 2017 JBoss by Red Hat. All rights reserved.