Package jakarta.resource.spi.work
package jakarta.resource.spi.work
This package contains APIs for the Work Management, Generic and Security Work Context contracts.
-
ClassDescriptionThis models a
Workinstance that would be distributed by aDistributableWorkManagerfor execution in a remoteDistributableWorkManagerThis interface models aWorkManagerthat supports distributed execution of Work instances.This class models an execution context (transaction, security, etc) with which theWorkinstance must be executed.A standardWorkContextthat allows aWorkinstance to propagate quality-of-service (QoS) hints about theWorkto theWorkManager.A subclass of theWorkRejectedExceptionthat indicates that the the service unavailability is transient.A standardWorkContextthat allows aWorkinstance to propagate security related context information from an EIS to an application server.A standardWorkContextthat allows aWorkinstance to propagate transaction related context information from an EIS to an application server.This models aWorkinstance that would be executed by aWorkManagerupon submission.This class is provided as a convenience for easily creatingWorkListenerinstances by extending this class and overriding only those methods of interest.This exception is thrown by aWorkManagerto indicate that a submittedWorkinstance has completed with an exception.This class serves as a standard mechanism for a resource adapter to propagate an imported context from an enterprise information system to an application server.This class models the possible error conditions that might occur during associating anWorkContextwith aWorkinstance.This class models the various events that occur during the processing of theWorkContexts associated with aWorkinstance.This interface specifies the methods aWorkinstance uses to associate aListofWorkContextinstances to be set when theWorkinstance gets executed by aWorkManager.This class models the various events that occur during the processing of aWorkinstance.A common base class for allWorkprocessing related exceptions.This models aWorkListenerinstance which would be notified by theWorkManagerwhen the variousWorkprocessing events (work accepted, work rejected, work started, work completed) occur.This interface models aWorkManagerwhich provides a facility to submitWorkinstances for execution.This exception is thrown by aWorkManagerto indicate that a submittedWorkinstance has been rejected.