Uses of Class
com.arjuna.mw.wsas.exceptions.SystemException
Package
Description
-
Uses of SystemException in com.arjuna.mw.wsas
Modifier and TypeMethodDescriptionUserActivity.activityId()
UserActivity.activityName()
What is the name of the current activity? Use only for debugging purposes!void
Register the specified HLS with the activity service.HLS[]
ActivityManager.allHighLevelServices()
Allows an invoker to obtain a list of all registered HLSs.UserActivity.currentActivity()
UserActivity.end()
Complete the activity with the current completion status.UserActivity.end
(CompletionStatus cs) Complete the activity with the completion status provided.UserActivity.getCompletionStatus()
Get the completion status currently associated with the activity.ActivityManager.getHighLevelService
(String serviceType) Allows an invoker to obtain a specific registered HLS supporting a given coordination type.int
UserActivity.getTimeout()
Get the timeout value currently associated with activities.void
Unregister the specified HLS with the activity service.void
UserActivity.resume
(ActivityHierarchy tx) Given a token representing a context, associate it with the current thread of control.UserActivity.serviceType()
void
UserActivity.setCompletionStatus
(CompletionStatus endStatus) Set the termination status for the current activity, if any.void
UserActivity.setTimeout
(int timeout) Set the timeout to be associated with all subsequently created activities.void
Start a new activity with a given coordination type.void
Start a new activity with a given coordination type.UserActivity.status()
UserActivity.suspend()
Suspend the current activity from this thread and return the token representing the context, if any, or null otherwise. -
Uses of SystemException in com.arjuna.mw.wsas.activity
Modifier and TypeMethodDescriptionvoid
HLS.begun()
An activity has begun and is active on the current thread.HLS.complete
(CompletionStatus cs) The current activity is completing with the specified completion status.void
HLS.completed()
The activity has completed and is still active on the current thread.Outcome.completedStatus()
The state in which the activity completed.HLS.context()
Return the context augmentation for this HLS, if any on the current activity, i.e., the activity active on the current thread.Outcome.data()
Outcome specific information that can be used to determine finer level details about the outcome instance.HLS.identity()
The HLS name.Outcome.name()
Give a name for this outcome.int
HLS.priority()
The activity service maintains a priority ordered list of HLS implementations.void
HLS.resumed()
The activity has been resumed on the current thread and is active on that thread.void
HLS.suspended()
The activity is being suspended, but is still active on the current thread. -
Uses of SystemException in com.arjuna.mw.wsas.exceptions
Modifier and TypeClassDescriptionclass
Thrown the HLS completion fails.class
Marker interface for exceptions e.g. -
Uses of SystemException 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.UserCoordinatorService.identifier()
UserCoordinatorService.qualifiers()
UserCoordinatorService.status()
-
Uses of SystemException in com.arjuna.mw.wscf.exceptions
Modifier and TypeClassDescriptionclass
The coordination protocol failed to start.class
There is no coordinator associated with the target.class
A general error has occurred. -
Uses of SystemException 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.UserCoordinator.currentActivity()
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.int
UserCoordinator.getTimeout()
Get the timeout value currently associated with activities.UserCoordinator.identifier()
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
CoordinatorManager.participantFaulted
(String participantId) A participant has faulted during normal execution or compensation.void
UserCoordinator.resume
(ActivityHierarchy tx) Given a token representing a context, associate it with the current thread of control.void
UserCoordinator.setCancelOnly()
Set the termination status for the current activity to cancel only.void
UserCoordinator.setTimeout
(int timeout) Set the timeout to be associated with all subsequently created activities.UserCoordinator.status()
UserCoordinator.suspend()
Suspend the current activity from this thread and return the token representing the context, if any, or null otherwise. -
Uses of SystemException in com.arjuna.mw.wscf.model.sagas.exceptions
Modifier and TypeClassDescriptionclass
A fail occurred during a Business Agreement cancel operation -- only applies in WSBA 1.1.class
There is no coordinator associated with the target.class
There is no coordinator associated with the target.class
There is no coordinator associated with the target.class
There is no coordinator associated with the target.class
There is no coordinator associated with the target. -
Uses of SystemException in com.arjuna.mw.wscf.model.sagas.outcomes
Modifier and TypeMethodDescriptionCoordinationOutcome.completedStatus()
The state in which the activity completed.CoordinationOutcome.data()
Outcome specific information that can be used to determine finer level details about the outcome instance.CoordinationOutcome.name()
Give a name for this outcome. -
Uses of SystemException in com.arjuna.mw.wscf.model.sagas.participants
Modifier and TypeMethodDescriptionvoid
Synchronization.afterCompletion
(int status) The transaction that the instance is enrolled with has either closed or compensated and the relevant termination state ss passed as a parameter.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.Participant.id()
-
Uses of SystemException 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.UserCoordinator.currentActivity()
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.int
UserCoordinator.getTimeout()
Get the timeout value currently associated with activities.UserCoordinator.identifier()
void
CoordinatorManager.participantReadOnly
(String participantId) A participant is readonly.void
CoordinatorManager.participantRolledback
(String participantId) The participant has rolled back.void
UserCoordinator.resume
(ActivityHierarchy tx) Given a token representing a context, associate it with the current thread of control.void
UserCoordinator.setCancelOnly()
Set the termination status for the current activity to cancel only.void
UserCoordinator.setTimeout
(int timeout) Set the timeout to be associated with all subsequently created activities.UserCoordinator.status()
UserCoordinator.suspend()
Suspend the current activity from this thread and return the token representing the context, if any, or null otherwise. -
Uses of SystemException in com.arjuna.mw.wscf.model.twophase.exceptions
Modifier and TypeClassDescriptionclass
There is no coordinator associated with the target.class
There is no coordinator associated with the target.class
There is no coordinator associated with the target.class
There is no coordinator associated with the target.class
There is no coordinator associated with the target.class
There is no coordinator associated with the target.class
There is no coordinator associated with the target.class
There is no coordinator associated with the target.class
There is no coordinator associated with the target. -
Uses of SystemException in com.arjuna.mw.wscf.model.twophase.outcomes
Modifier and TypeMethodDescriptionCoordinationOutcome.completedStatus()
The state in which the activity completed.CoordinationOutcome.data()
Outcome specific information that can be used to determine finer level details about the outcome instance.CoordinationOutcome.name()
Give a name for this outcome. -
Uses of SystemException in com.arjuna.mw.wscf.model.twophase.participants
Modifier and TypeMethodDescriptionvoid
Synchronization.afterCompletion
(int status) The transaction that the instance is enrolled with has completed and the state in which is completed is passed as a parameter.void
Synchronization.beforeCompletion()
The transaction that the instance is enrolled with is about to commit.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.Participant.id()
Participant.prepare()
Prepare the participant for top-level. -
Uses of SystemException in com.arjuna.mw.wscf11.model.sagas
Modifier and TypeMethodDescriptionstatic CoordinatorManager
CoordinatorManagerFactory.coordinatorManager()
static CoordinatorManager
CoordinatorManagerFactory.coordinatorManager
(String protocol) Obtain a reference to a coordinator that implements the specified protocol.static UserCoordinator
UserCoordinatorFactory.userCoordinator()
static UserCoordinator
UserCoordinatorFactory.userCoordinator
(String protocol) Obtain a reference to a coordinator that implements the specified protocol. -
Uses of SystemException in com.arjuna.mw.wscf11.model.twophase
Modifier and TypeMethodDescriptionstatic CoordinatorManager
CoordinatorManagerFactory.coordinatorManager()
static CoordinatorManager
CoordinatorManagerFactory.coordinatorManager
(String protocol) Obtain a reference to a coordinator that implements the specified protocol.static UserCoordinator
UserCoordinatorFactory.userCoordinator()
static UserCoordinator
UserCoordinatorFactory.userCoordinator
(String protocol) Obtain a reference to a coordinator that implements the specified protocol.