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 TxContext |
TransactionManager.currentTransaction()
The currentTransaction method returns the TxContext for the current
transaction, or null if there is none.
|
abstract TxContext |
BusinessActivityManager.currentTransaction()
The currentTransaction method returns the TxContext for the current
transaction, or null if there is none.
|
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 int |
TransactionManager.replay() |
abstract void |
TransactionManager.resume(TxContext txContext)
The resume method can be used to (re-)associate a thread with a
transaction(s) via its TxContext.
|
abstract void |
BusinessActivityManager.resume(TxContext txContext)
The resume method can be used to (re-)associate a thread with a
transaction(s) via its TxContext.
|
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.
|
abstract TxContext |
TransactionManager.suspend()
A thread of control may require periods of non-transactionality so that
it may perform work that is not associated with a specific transaction.
|
abstract TxContext |
BusinessActivityManager.suspend()
A thread of control may require periods of non-transactionality so that
it may perform work that is not associated with a specific transaction.
|
Modifier and Type | Method and Description |
---|---|
TxContext |
ContextManager.currentTransaction() |
void |
ContextManager.resume(TxContext tx) |
TxContext |
ContextManager.suspend() |
Modifier and Type | Method and Description |
---|---|
TxContext |
ContextManager.currentTransaction() |
void |
ContextManager.resume(TxContext tx) |
TxContext |
ContextManager.suspend() |
Modifier and Type | Method and Description |
---|---|
void |
CompletionCoordinatorRPCImple.commit() |
void |
CompletionCoordinatorImple.commit() |
void |
CompletionCoordinatorRPCImple.rollback() |
void |
CompletionCoordinatorImple.rollback() |
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.
|
TxContext |
TransactionManagerImple.currentTransaction() |
void |
TransactionManagerImple.enlistForDurableTwoPhase(Durable2PCParticipant tpp,
String id) |
void |
TransactionManagerImple.enlistForVolatileTwoPhase(Volatile2PCParticipant tpp,
String id) |
int |
TransactionManagerImple.replay() |
void |
TransactionManagerImple.resume(TxContext tx) |
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.
|
protected Context |
UserTransactionStandaloneImple.startTransaction(int timeout,
TxContextImple current) |
protected Context |
UserTransactionImple.startTransaction(int timeout,
TxContextImple current) |
TxContext |
TransactionManagerImple.suspend() |
Modifier and Type | Method and Description |
---|---|
void |
BusinessActivityTerminatorImple.cancel() |
void |
BusinessActivityTerminatorImple.close() |
void |
BusinessActivityTerminatorImple.complete()
Complete doesn't mean go away, it just means that all work you need to
accomplish the commit/rollback has been received.
|
Constructor and Description |
---|
BusinessActivityTerminatorImple()
create a business activity terminator for use on the server side with an empty participant endpoint
which gets set at registration time
|
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() |
TxContext |
BusinessActivityManagerImple.currentTransaction() |
BAParticipantManager |
BusinessActivityManagerImple.enlistForBusinessAgreementWithCoordinatorCompletion(BusinessAgreementWithCoordinatorCompletionParticipant bawcp,
String id) |
BAParticipantManager |
BusinessActivityManagerImple.enlistForBusinessAgreementWithParticipantCompletion(BusinessAgreementWithParticipantCompletionParticipant bap,
String id) |
void |
BAParticipantManagerImple.error() |
void |
SubordinateBAParticipantManagerImple.exit() |
void |
BAParticipantManagerImple.exit() |
void |
SubordinateBAParticipantManagerImple.fail(QName exceptionIdentifier) |
void |
BAParticipantManagerImple.fail(QName exceptionIdentifier) |
void |
BusinessActivityManagerImple.resume(TxContext tx) |
TxContext |
BusinessActivityManagerImple.suspend() |
Modifier and Type | Method and Description |
---|---|
void |
BusinessActivityTerminator.cancel() |
void |
BusinessAgreementWithParticipantCompletionParticipant.cancel()
The transaction has cancelled, and the participant should undo any work.
|
void |
BusinessActivityTerminator.close() |
void |
BusinessAgreementWithParticipantCompletionParticipant.close()
The transaction has completed successfully.
|
void |
CompletionCoordinatorParticipant.commit() |
void |
Participant.commit()
The participant should make permanent the work that it controls.
|
void |
BusinessAgreementWithParticipantCompletionParticipant.compensate()
The transaction has cancelled.
|
void |
BusinessActivityTerminator.complete() |
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.
|
void |
Participant.error()
During recovery the participant can enquire as to the status of the
transaction it was registered with.
|
void |
BusinessAgreementWithParticipantCompletionParticipant.error()
If the participant enquired as to the status of the transaction it was
registered with and an unrecoverable error occurs then this operation will be
invoked.
|
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 |
CompletionCoordinatorParticipant.rollback() |
void |
Participant.rollback()
The participant should undo the work that it controls.
|
String |
BusinessAgreementWithParticipantCompletionParticipant.status() |
void |
Participant.unknown()
During recovery the participant can enquire as to the status of the
transaction it was registered with.
|
void |
BusinessAgreementWithParticipantCompletionParticipant.unknown()
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
SystemCommunicationException
Marker interface for exceptions e.g.
|
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.
|
void |
BAParticipantManager.fail(QName exceptionIdentifier)
Fault.
|
Modifier and Type | Method and Description |
---|---|
void |
SubordinateCoordinatorCompletionParticipantStub.cancel() |
void |
BusinessAgreementWithParticipantCompletionStub.cancel() |
void |
BusinessAgreementWithCoordinatorCompletionStub.cancel() |
void |
BusinessActivityTerminatorStub.cancel() |
void |
BusinessActivityTerminatorRPCStub.cancel() |
void |
BAParticipantCompletionParticipantManagerStub.cannotComplete() |
void |
BACoordinatorCompletionParticipantManagerStub.cannotComplete() |
void |
SubordinateCoordinatorCompletionParticipantStub.close() |
void |
BusinessAgreementWithParticipantCompletionStub.close() |
void |
BusinessAgreementWithCoordinatorCompletionStub.close() |
void |
BusinessActivityTerminatorStub.close() |
void |
BusinessActivityTerminatorRPCStub.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 |
CompletionStub.commit() |
void |
CompletionRPCStub.commit() |
void |
SubordinateCoordinatorCompletionParticipantStub.compensate() |
void |
BusinessAgreementWithParticipantCompletionStub.compensate() |
void |
BusinessAgreementWithCoordinatorCompletionStub.compensate() |
void |
SubordinateCoordinatorCompletionParticipantStub.complete() |
void |
BusinessAgreementWithCoordinatorCompletionStub.complete() |
void |
BusinessActivityTerminatorStub.complete() |
void |
BusinessActivityTerminatorRPCStub.complete() |
void |
BAParticipantCompletionParticipantManagerStub.completed() |
void |
BACoordinatorCompletionParticipantManagerStub.completed() |
void |
SubordinateVolatile2PCStub.error()
this should never get called
|
void |
SubordinateDurable2PCStub.error()
this should never get called
|
void |
SubordinateCoordinatorCompletionParticipantStub.error()
this should never get called
|
void |
ParticipantStub.error() |
void |
BusinessAgreementWithParticipantCompletionStub.error() |
void |
BusinessAgreementWithCoordinatorCompletionStub.error() |
void |
BusinessActivityTerminatorStub.error() |
void |
BusinessActivityTerminatorRPCStub.error() |
void |
BAParticipantCompletionParticipantManagerStub.exit() |
void |
BACoordinatorCompletionParticipantManagerStub.exit() |
void |
BAParticipantCompletionParticipantManagerStub.fail(QName exceptionIdentifier) |
void |
BACoordinatorCompletionParticipantManagerStub.fail(QName exceptionIdentifier) |
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() |
void |
CompletionStub.rollback() |
void |
CompletionRPCStub.rollback() |
String |
SubordinateCoordinatorCompletionParticipantStub.status()
this should never get called
|
String |
BusinessAgreementWithParticipantCompletionStub.status() |
String |
BusinessAgreementWithCoordinatorCompletionStub.status() |
void |
SubordinateVolatile2PCStub.unknown()
this should never get called
|
void |
SubordinateDurable2PCStub.unknown()
this should never get called
|
void |
SubordinateCoordinatorCompletionParticipantStub.unknown()
this should never get called
|
void |
ParticipantStub.unknown() |
void |
BusinessAgreementWithParticipantCompletionStub.unknown() |
void |
BusinessAgreementWithCoordinatorCompletionStub.unknown() |
void |
BusinessActivityTerminatorStub.unknown() |
void |
BusinessActivityTerminatorRPCStub.unknown() |
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.
|
void |
BridgeVolatileParticipant.error()
VolatileParticipants don't support recovery, so this should never be called.
|
void |
BridgeDurableParticipant.error()
During recovery the participant can enquire as to the status of the
transaction it was registered with.
|
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.
|
void |
BridgeVolatileParticipant.unknown()
Deprecated, should never be called.
|
void |
BridgeDurableParticipant.unknown()
During recovery the participant can enquire as to the status of the
transaction it was registered with.
|
Modifier and Type | Method and Description |
---|---|
void |
OutboundBridge.start()
Associate the WS-AT transaction to the current Thread.
|
void |
OutboundBridge.stop()
Disassociate the WS-AT transaction from the current Thread.
|
Modifier and Type | Method and Description |
---|---|
void |
WSBAParticipantCompletionParticipant.cancel() |
void |
WSBAParticipantCompletionParticipant.close() |
void |
WSBAParticipantCompletionParticipant.compensate() |
void |
WSBACoordinatorCompletionParticipant.complete() |
void |
WSBAParticipantCompletionParticipant.error() |
String |
WSBAParticipantCompletionParticipant.status() |
void |
WSBAParticipantCompletionParticipant.unknown()
Deprecated.
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.