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
Work
instance that would be distributed by aDistributableWorkManager
for execution in a remoteDistributableWorkManager
This interface models aWorkManager
that supports distributed execution of Work instances.This class models an execution context (transaction, security, etc) with which theWork
instance must be executed.A standardWorkContext
that allows aWork
instance to propagate quality-of-service (QoS) hints about theWork
to theWorkManager
.A subclass of theWorkRejectedException
that indicates that the the service unavailability is transient.A standardWorkContext
that allows aWork
instance to propagate security related context information from an EIS to an application server.A standardWorkContext
that allows aWork
instance to propagate transaction related context information from an EIS to an application server.This models aWork
instance that would be executed by aWorkManager
upon submission.This class is provided as a convenience for easily creatingWorkListener
instances by extending this class and overriding only those methods of interest.This exception is thrown by aWorkManager
to indicate that a submittedWork
instance 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 anWorkContext
with aWork
instance.This class models the various events that occur during the processing of theWorkContext
s associated with aWork
instance.This interface specifies the methods aWork
instance uses to associate aList
ofWorkContext
instances to be set when theWork
instance gets executed by aWorkManager
.This class models the various events that occur during the processing of aWork
instance.A common base class for allWork
processing related exceptions.This models aWorkListener
instance which would be notified by theWorkManager
when the variousWork
processing events (work accepted, work rejected, work started, work completed) occur.This interface models aWorkManager
which provides a facility to submitWork
instances for execution.This exception is thrown by aWorkManager
to indicate that a submittedWork
instance has been rejected.