Uses of Class
com.arjuna.mw.wsas.exceptions.WrongStateException

Packages that use WrongStateException
com.arjuna.mw.wsas   
com.arjuna.mw.wscf.api   
com.arjuna.mw.wscf.model.sagas.api   
com.arjuna.mw.wscf.model.sagas.participants   
com.arjuna.mw.wscf.model.twophase.api   
com.arjuna.mw.wscf.model.twophase.participants   
 

Uses of WrongStateException in com.arjuna.mw.wsas
 

Methods in com.arjuna.mw.wsas that throw WrongStateException
 Outcome UserActivity.end()
          Complete the activity with the current completion status.
 Outcome 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 UserActivity.start(String serviceType)
          Start a new activity with a given coordination type.
 void UserActivity.start(String serviceType, int timeout)
          Start a new activity with a given coordination type.
 

Uses of WrongStateException in com.arjuna.mw.wscf.api
 

Methods in com.arjuna.mw.wscf.api that throw WrongStateException
 Outcome UserCoordinatorService.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
 

Methods in com.arjuna.mw.wscf.model.sagas.api that throw WrongStateException
 void UserCoordinator.begin(String coordinationType)
          Start a new activity.
 void UserCoordinator.begin(String coordinationType, int timeout)
          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
 

Methods in com.arjuna.mw.wscf.model.sagas.participants that throw WrongStateException
 void 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
 

Methods in com.arjuna.mw.wscf.model.twophase.api that throw WrongStateException
 void UserCoordinator.begin(String serviceType)
          Start a new activity.
 void UserCoordinator.begin(String serviceType, int timeout)
          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
 

Methods in com.arjuna.mw.wscf.model.twophase.participants that throw WrongStateException
 void 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.
 Vote Participant.prepare()
          Prepare the participant for top-level.
 



Copyright © 2012. All Rights Reserved.