Package com.ibm.ws.javax.activity
Interface Summary ActivityCoordinator The ActivityCoordinator is responsible for broadcasting signals to registered Actions. ActivityManager The ActivityManager interface extends the UserActivity interface by offering methods to manipulate the Activity context. ActivityToken An ActivityToken is used to manipulate hierarchies of Activity and transaction contexts via the suspend() and resume(ActivityToken) operations of the ActivityManager interface. CompletionStatus When an Activity completes, it does so in one of two states, either success or failure. GlobalId A GlobalId uniquely identifies an Activity across the namespace. PersistentActivityCoordinator Status During the existence of an Activity its Status will progress from StatusActive through StatusCompleting to StatusCompleted. UserActivity The UserActivity interface defines the methods offered to a high-level service (HLS) constructed on top of the Activity service framework.
Class Summary ActivityInformation The ActivityInformation class is provided by the Activity service to assist an Action that has registered interest with a system SignalSet to extract the information from Signals produced by that SignalSet. CoordinationInformation A CoordinationInformation object is returned from the SignalSet's setResponse method. Outcome An Outcome is produced by, and given meaning by, a SignalSet when it has finished producing signals. PropertyGroupContext The PropertyGroupContext utility object is provided by the Activity service to assist a PropertyGroupManager read and write org.omg.CosActivity.PropertyGroupIdentity context data during marshalling and unmarshalling of the org.omg.CosActivity.ActivityContext that incorporates it. ServiceInformation An instance of a ServiceInformation object is used by each ServiceManager to identify the name of the high-level service (HLS) and the context group to which a particular Activity belongs. Signal Signals are events that are broadcast to interested parties as part of a coordinated SignalSet.
Exception Summary ActionErrorException This exception is thrown by the Action during signal processing if it encounters an error it cannot handle. ActionNotFoundException This exception is thrown by the Activity service when an attempt is made to remove the association between an Action and any SignalSets registered with the Activity if that Action instance is not recognized by the Activity service. ActivityNotProcessedException This exception is raised when it is not possible to complete the processing of signals from a completion or broadcast signal set. ActivityPendingException This exception is thrown by the Activity service if an attempt is made to complete an Activity that has asynchronous work outstanding. ContextPendingException This exception is thrown by the Activity service if an attempt is made to complete an Activity that has child contexts outstanding, if the CompletionStatus is CompletionStatusSuccess. InvalidParentContextException This exception is thrown by the Activity service when an attempt is made to resume an Activity into a different context to that from which it was suspended. InvalidStateException This exception is thrown by the Activity service when an attempt is made to begin an Activity as a child of a context whose CompletionStatus is CompletionStatusFailOnly or to change the state of an Activity from CompletionStatusFailOnly. NoActivityException This exception is thrown by the Activity service when UserActivity operations that require an active Activity are called outside the scope of an Activity. NoImplementException This exception is thrown by the Activity service if an Activity service operation is attempted in an execution environment for which that operation is not supported. NotOriginatorException This exception is thrown by the Activity service if an attempt is made by an application to complete an Activity in an execution environment different to that in which the Activity was created. PropertyGroupRegisteredException This exception is thrown by the Activity service if multiple attempts are made to register the same PropertyGroup. PropertyGroupUnknownException This exception is thrown by the Activity service if an attempt is made to retrieve, or otherwise reference, a PropertyGroup with a name for which no PropertyGroupManager has been registered. ServiceAlreadyRegisteredException This exception is thrown by the Activity service if an attempt is made to register a different ServiceManager to the one already registered with the target UserActivity. ServiceNotRegisteredException This exception is thrown by the Activity service if an attempt is made to operate on the active Activity, through a UserActivity instance before a ServiceManager has been registered for that UserActivity/. SignalSetActiveException This exception is thrown by the SignalSet if an attempt is made to obtain its final Outcome after the SignalSet has started to produce signals and before it has finished producing them. SignalSetInactiveException This exception is thrown by the SignalSet if an attempt is made to use the SignalSet without having first called getSignal or setSignal. SignalSetUnknownException This exception is thrown by the Activity service if it is instructed to use a SignalSet that has not previously been registered. SystemException This exception is thrown by the Activity service if an unexpected condition occurs. TimeoutRangeException This exception is thrown by the Activity service if an Activity timeout value is specified that is either: less than -1 or outside an administratively defined range
WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.