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

- Packages that use Work
  Package | Description
  --- | ---
  javax.resource.spi.work | This package contains APIs for the Work Management, Generic and Security Work Context contracts.

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

    Subinterfaces of Work in javax.resource.spi.work
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `DistributableWork` This models a `Work` instance that would be distributed by a `DistributableWorkManager` for execution in a remote `DistributableWorkManager`

    Methods in javax.resource.spi.work that return Work
    Modifier and Type | Method and Description
    --- | ---
    `Work` | WorkEvent.`getWork()` Return the `Work` instance which is the cause of the event.

    Methods in javax.resource.spi.work with parameters of type Work
    Modifier and Type | Method and Description
    --- | ---
    `void` | WorkManager.`doWork(Work work)` Accepts a `Work` instance for processing.
    `void` | WorkManager.`doWork(Work work, long startTimeout, ExecutionContext execContext, WorkListener workListener)` Accepts a `Work` instance for processing.
    `void` | WorkManager.`scheduleWork(Work work)` Accepts a `Work` instance for processing.
    `void` | WorkManager.`scheduleWork(Work work, long startTimeout, ExecutionContext execContext, WorkListener workListener)` Accepts a `Work` instance for processing.
    `long` | WorkManager.`startWork(Work work)` Accepts a `Work` instance for processing.
    `long` | WorkManager.`startWork(Work work, long startTimeout, ExecutionContext execContext, WorkListener workListener)` Accepts a `Work` instance for processing.

    Constructors in javax.resource.spi.work with parameters of type Work
    Constructor and Description
    `WorkEvent(Object source, int type, Work work, WorkException exc)` Constructor.
    `WorkEvent(Object source, int type, Work work, WorkException exc, long startDuration)` Constructor.

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