## Uses of Interface
javax.resource.spi.work.WorkContext

- Packages that use WorkContext
  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.

- - ### Uses of WorkContext in javax.resource.spi

    Method parameters in javax.resource.spi with type arguments of type WorkContext
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | BootstrapContext.`isContextSupported(Class<? extends WorkContext> workContextClass)` A resource adapter can check an application server's support for a particular WorkContext type through this method.

  - ### Uses of WorkContext in javax.resource.spi.work

    Classes in javax.resource.spi.work that implement WorkContext
    Modifier and Type | Class and Description
    --- | ---
    `class` | `HintsContext` A standard `WorkContext` that allows a `Work` instance to propagate quality-of-service (QoS) hints about the `Work` to the `WorkManager`.
    `class` | `SecurityContext` A standard `WorkContext` that allows a `Work` instance to propagate security related context information from an EIS to an application server.
    `class` | `TransactionContext` A standard `WorkContext` that allows a `Work` instance to propagate transaction related context information from an EIS to an application server.

    Methods in javax.resource.spi.work that return types with arguments of type WorkContext
    Modifier and Type | Method and Description
    --- | ---
    `List<WorkContext>` | WorkContextProvider.`getWorkContexts()` Gets an list of `WorkContexts` that needs to be used by the `WorkManager` to set up the execution context while executing a `Work` instance.

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