Uses of Class
com.arjuna.mw.wsas.exceptions.WrongStateException
Package
Description
-
Uses of WrongStateException in com.arjuna.mw.wsas
Modifier and TypeMethodDescriptionUserActivity.end()
Complete the activity with the current completion status.UserActivity.end
(CompletionStatus cs) Complete the activity with the completion status provided.void
UserActivity.setCompletionStatus
(CompletionStatus endStatus) Set the termination status for the current activity, if any.void
Start a new activity with a given coordination type.void
Start a new activity with a given coordination type. -
Uses of WrongStateException in com.arjuna.mw.wscf.api
Modifier and TypeMethodDescriptionUserCoordinatorService.coordinate
(CompletionStatus cs) If the application requires and if the coordination protocol supports it, then this method can be used to execute a coordination protocol on the currently enlisted participants at any time prior to the termination of the coordination scope. -
Uses of WrongStateException in com.arjuna.mw.wscf.model.sagas.api
Modifier and TypeMethodDescriptionvoid
Start a new activity.void
Start a new activity.void
UserCoordinator.cancel()
Cancel the activity.void
UserCoordinator.close()
Confirm the current activity.void
UserCoordinator.complete()
Complete the activity.void
CoordinatorManager.delistParticipant
(String participantId) Remove the specified participant from the coordinator associated with the current thread.void
CoordinatorManager.enlistParticipant
(Participant act) Enrol the specified participant with the coordinator associated with the current thread.void
CoordinatorManager.participantCannotComplete
(String participantId) A participant cannot complete during normal execution or compensation.void
CoordinatorManager.participantCompleted
(String participantId) The participant has completed its work and it ready to compensate if necessary.void
UserCoordinator.setCancelOnly()
Set the termination status for the current activity to cancel only. -
Uses of WrongStateException in com.arjuna.mw.wscf.model.sagas.participants
Modifier and TypeMethodDescriptionvoid
Participant.cancel()
Cancel the participant at top-level.void
Participant.close()
Confirm the participant at top-level.void
Participant.compensate()
Compensate the participant.void
ParticipantWithComplete.complete()
Complete the participant.void
Participant.forget()
Inform the participant that is can forget the heuristic result. -
Uses of WrongStateException in com.arjuna.mw.wscf.model.twophase.api
Modifier and TypeMethodDescriptionvoid
Start a new activity.void
Start a new activity.void
UserCoordinator.cancel()
Cancel the activity.void
UserCoordinator.confirm()
Confirm the current activity.void
CoordinatorManager.delistParticipant
(Participant act) Remove the specified participant from the coordinator associated with the current thread.void
CoordinatorManager.delistSynchronization
(Synchronization act) Remove the specified synchronization from the coordinator associated with the current thread.void
CoordinatorManager.enlistParticipant
(Participant act) Enrol the specified participant with the coordinator associated with the current thread.void
CoordinatorManager.enlistSynchronization
(Synchronization act) Enrol the specified synchronization with the coordinator associated with the current thread.void
CoordinatorManager.participantRolledback
(String participantId) The participant has rolled back.void
UserCoordinator.setCancelOnly()
Set the termination status for the current activity to cancel only. -
Uses of WrongStateException in com.arjuna.mw.wscf.model.twophase.participants
Modifier and TypeMethodDescriptionvoid
Participant.cancel()
Cancel the participant at top-level.void
Participant.confirm()
Confirm the participant at top-level.void
Participant.confirmOnePhase()
Confirm the participant in a single phase.void
Participant.forget()
Inform the participant that is can forget the heuristic result.Participant.prepare()
Prepare the participant for top-level.