Package | Description |
---|---|
com.arjuna.mw.wst11 | |
com.arjuna.wst | |
com.arjuna.wst.stub | |
com.arjuna.wst11 | |
com.arjuna.wst11.stub |
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 |
---|---|
void |
BusinessAgreementWithParticipantCompletionParticipant.cancel()
The transaction has cancelled, and the participant should undo any work.
|
void |
BusinessActivityTerminator.cancel() |
void |
BusinessAgreementWithParticipantCompletionParticipant.close()
The transaction has completed successfully.
|
void |
BusinessActivityTerminator.close() |
void |
Participant.commit()
The participant should make permanent the work that it controls.
|
void |
CompletionCoordinatorParticipant.commit() |
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.
|
void |
BusinessActivityTerminator.complete() |
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 |
Participant.rollback()
The participant should undo the work that it controls.
|
void |
CompletionCoordinatorParticipant.rollback() |
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() |
Copyright © 2013. All Rights Reserved.