# Uses of Package
javax.resource.spi.work

- Packages that use javax.resource.spi.work
  Package | Description
  --- | ---
  javax.resource.spi | The javax.resource.spi package contains APIs for the system contracts defined in the Java EE Connector Architecture specification.
  javax.resource.spi.work | This package contains APIs for the Work Management, Generic and Security Work Context contracts.

- Classes in javax.resource.spi.work used by javax.resource.spi
  Class and Description
  WorkContext 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.
  WorkManager This interface models a `WorkManager` which provides a facility to submit `Work` instances for execution.

- Classes in javax.resource.spi.work used by javax.resource.spi.work
  Class and Description
  ExecutionContext This class models an execution context (transaction, security, etc) with which the `Work` instance must be executed.
  Work This models a `Work` instance that would be executed by a `WorkManager` upon submission.
  WorkContext 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.
  WorkEvent This class models the various events that occur during the processing of a `Work` instance.
  WorkException A common base class for all `Work` processing related exceptions.
  WorkListener This models a `WorkListener` instance which would be notified by the `WorkManager` when the various `Work` processing events (work accepted, work rejected, work started, work completed) occur.
  WorkManager This interface models a `WorkManager` which provides a facility to submit `Work` instances for execution.
  WorkRejectedException This exception is thrown by a `WorkManager` to indicate that a submitted `Work` instance has been rejected.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.