Uses of Package
jakarta.resource.spi.work
Package
Description
The jakarta.resource.spi package contains APIs for the system
contracts defined in the Jakarta Connectors specification.
This package contains APIs for the Work Management, Generic and Security Work Context contracts.
-
ClassDescriptionThis 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 interface models a
WorkManager
which provides a facility to submitWork
instances for execution. -
ClassDescriptionThis class models an execution context (transaction, security, etc) with which the
Work
instance must be executed.This models aWork
instance that would be executed by aWorkManager
upon submission.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 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.