|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of SystemException in com.arjuna.mw.wsas |
---|
Methods in com.arjuna.mw.wsas that throw SystemException | |
---|---|
GlobalId |
UserActivity.activityId()
|
String |
UserActivity.activityName()
What is the name of the current activity? Use only for debugging purposes! |
void |
ActivityManager.addHLS(HLS service)
Register the specified HLS with the activity service. |
HLS[] |
ActivityManager.allHighLevelServices()
Allows an invoker to obtain a list of all registered HLSs. |
ActivityHierarchy |
UserActivity.currentActivity()
|
Outcome |
UserActivity.end()
Complete the activity with the current completion status. |
Outcome |
UserActivity.end(CompletionStatus cs)
Complete the activity with the completion status provided. |
CompletionStatus |
UserActivity.getCompletionStatus()
Get the completion status currently associated with the activity. |
HLS |
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 |
ActivityManager.removeHLS(HLS service)
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. |
String |
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 |
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. |
Status |
UserActivity.status()
|
ActivityHierarchy |
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 |
---|
Methods in com.arjuna.mw.wsas.activity that throw SystemException | |
---|---|
void |
HLS.begun()
An activity has begun and is active on the current thread. |
Outcome |
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. |
CompletionStatus |
Outcome.completedStatus()
The state in which the activity completed. |
Context |
HLS.context()
Return the context augmentation for this HLS, if any on the current activity, i.e., the activity active on the current thread. |
Object |
Outcome.data()
Outcome specific information that can be used to determine finer level details about the outcome instance. |
String |
HLS.identity()
The HLS name. |
String |
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 |
---|
Subclasses of SystemException in com.arjuna.mw.wsas.exceptions | |
---|---|
class |
HLSException
Thrown the HLS completion fails. |
class |
SystemCommunicationException
Marker interface for exceptions e.g. |
Constructors in com.arjuna.mw.wsas.exceptions with parameters of type SystemException | |
---|---|
HLSException(String reason,
SystemException obj)
|
|
HLSException(SystemException ex)
|
Uses of SystemException in com.arjuna.mw.wscf.api |
---|
Methods in com.arjuna.mw.wscf.api that throw SystemException | |
---|---|
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. |
CoordinatorId |
UserCoordinatorService.identifier()
|
Qualifier[] |
UserCoordinatorService.qualifiers()
|
Status |
UserCoordinatorService.status()
|
Uses of SystemException in com.arjuna.mw.wscf.exceptions |
---|
Subclasses of SystemException in com.arjuna.mw.wscf.exceptions | |
---|---|
class |
BegunFailedException
The coordination protocol failed to start. |
class |
NoCoordinatorException
There is no coordinator associated with the target. |
class |
UnexpectedException
A general error has occurred. |
Uses of SystemException in com.arjuna.mw.wscf.model.sagas.api |
---|
Methods in com.arjuna.mw.wscf.model.sagas.api that throw SystemException | |
---|---|
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. |
ActivityHierarchy |
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. |
CoordinatorId |
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. |
Status |
UserCoordinator.status()
|
ActivityHierarchy |
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 |
---|
Subclasses of SystemException in com.arjuna.mw.wscf.model.sagas.exceptions | |
---|---|
class |
CancelFailedException
A fail occurred during a Business Agreement cancel operation -- only applies in WSBA 1.1. |
class |
CompensateFailedException
There is no coordinator associated with the target. |
class |
CoordinatorCancelledException
There is no coordinator associated with the target. |
class |
CoordinatorConfirmedException
There is no coordinator associated with the target. |
class |
DuplicateSynchronizationException
There is no coordinator associated with the target. |
class |
InvalidSynchronizationException
There is no coordinator associated with the target. |
Uses of SystemException in com.arjuna.mw.wscf.model.sagas.outcomes |
---|
Methods in com.arjuna.mw.wscf.model.sagas.outcomes that throw SystemException | |
---|---|
CompletionStatus |
CoordinationOutcome.completedStatus()
The state in which the activity completed. |
Object |
CoordinationOutcome.data()
Outcome specific information that can be used to determine finer level details about the outcome instance. |
String |
CoordinationOutcome.name()
Give a name for this outcome. |
Uses of SystemException in com.arjuna.mw.wscf.model.sagas.participants |
---|
Methods in com.arjuna.mw.wscf.model.sagas.participants that throw SystemException | |
---|---|
void |
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. |
String |
Participant.id()
|
Uses of SystemException in com.arjuna.mw.wscf.model.twophase.api |
---|
Methods in com.arjuna.mw.wscf.model.twophase.api that throw SystemException | |
---|---|
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. |
ActivityHierarchy |
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. |
CoordinatorId |
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. |
Status |
UserCoordinator.status()
|
ActivityHierarchy |
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 |
---|
Subclasses of SystemException in com.arjuna.mw.wscf.model.twophase.exceptions | |
---|---|
class |
HeuristicCancelException
There is no coordinator associated with the target. |
class |
HeuristicConfirmException
There is no coordinator associated with the target. |
class |
HeuristicHazardException
There is no coordinator associated with the target. |
class |
HeuristicMixedException
There is no coordinator associated with the target. |
class |
ParticipantCancelledException
There is no coordinator associated with the target. |
Uses of SystemException in com.arjuna.mw.wscf.model.twophase.outcomes |
---|
Methods in com.arjuna.mw.wscf.model.twophase.outcomes that throw SystemException | |
---|---|
CompletionStatus |
CoordinationOutcome.completedStatus()
The state in which the activity completed. |
Object |
CoordinationOutcome.data()
Outcome specific information that can be used to determine finer level details about the outcome instance. |
String |
CoordinationOutcome.name()
Give a name for this outcome. |
Uses of SystemException in com.arjuna.mw.wscf.model.twophase.participants |
---|
Methods in com.arjuna.mw.wscf.model.twophase.participants that throw SystemException | |
---|---|
void |
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. |
String |
Participant.id()
|
Vote |
Participant.prepare()
Prepare the participant for top-level. |
Uses of SystemException in com.arjuna.mw.wscf11.model.sagas |
---|
Methods in com.arjuna.mw.wscf11.model.sagas that throw SystemException | |
---|---|
static 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 |
---|
Methods in com.arjuna.mw.wscf11.model.twophase that throw SystemException | |
---|---|
static 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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |