Uses of Class
com.arjuna.wst.WrongStateException
Package
Description
-
Uses of WrongStateException in com.arjuna.mw.wst11
Modifier and TypeMethodDescriptionabstract void
UserBusinessActivity.begin()
Start a new business activity with atomic outcome.abstract void
UserBusinessActivity.begin
(int timeout) Start a new BA with atomic outcome and the specified timeout as its lifetime.abstract void
UserTransaction.begin()
Start a new transaction.abstract void
UserTransaction.begin
(int timeout) Start a new transaction with 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. -
Uses of WrongStateException in com.arjuna.wst
Modifier and TypeMethodDescriptionvoid
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.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. -
Uses of WrongStateException in com.arjuna.wst11
Modifier and TypeMethodDescriptionvoid
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. -
Uses of WrongStateException in com.arjuna.wst11.stub
Modifier and TypeMethodDescriptionvoid
BusinessAgreementWithCoordinatorCompletionStub.cancel()
void
BusinessAgreementWithParticipantCompletionStub.cancel()
void
SubordinateCoordinatorCompletionParticipantStub.cancel()
void
BACoordinatorCompletionParticipantManagerStub.cannotComplete()
void
BAParticipantCompletionParticipantManagerStub.cannotComplete()
void
BusinessAgreementWithCoordinatorCompletionStub.close()
void
BusinessAgreementWithParticipantCompletionStub.close()
void
SubordinateCoordinatorCompletionParticipantStub.close()
void
ParticipantStub.commit()
void
SubordinateDurable2PCStub.commit()
this will be called when the parent coordinator commits its durable participants and should ensure that the interposed cooordinator does the samevoid
SubordinateVolatile2PCStub.commit()
this is called as part of the after completion processing and should ensure that the interposed coordinator performs its afterCompletion processingvoid
BusinessAgreementWithCoordinatorCompletionStub.compensate()
void
BusinessAgreementWithParticipantCompletionStub.compensate()
void
SubordinateCoordinatorCompletionParticipantStub.compensate()
void
BusinessAgreementWithCoordinatorCompletionStub.complete()
void
SubordinateCoordinatorCompletionParticipantStub.complete()
void
BACoordinatorCompletionParticipantManagerStub.completed()
void
BAParticipantCompletionParticipantManagerStub.completed()
void
BACoordinatorCompletionParticipantManagerStub.exit()
void
BAParticipantCompletionParticipantManagerStub.exit()
ParticipantStub.prepare()
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.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.void
ParticipantStub.rollback()
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 samevoid
SubordinateVolatile2PCStub.rollback()
this is called as part of the after completion processing and should ensure that the interposed coordinator performs its afterCompletion processing -
Uses of WrongStateException in org.jboss.jbossts.txbridge.inbound
Modifier and TypeMethodDescriptionvoid
BridgeDurableParticipant.commit()
The participant should make permanent the work that it controls.void
BridgeVolatileParticipant.commit()
Perform afterCompletion cleanup activities such as releasing resources.static InboundBridge
InboundBridgeManager.getInboundBridge()
Return an InboundBridge instance that maps the current Thread's WS transaction context to a JTA context.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.BridgeVolatileParticipant.prepare()
Perform beforeCompletion activities such as flushing cached state to stable store.void
BridgeDurableParticipant.rollback()
The participant should undo the work that it controls.void
BridgeVolatileParticipant.rollback()
Perform afterCompletion cleanup activities such as releasing resources.