See: Description
| Interface | Description |
|---|---|
| Work |
This models a
Work instance that would be executed by a
WorkManager upon submission. |
| 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. |
| Class | Description |
|---|---|
| ExecutionContext |
This class models an execution context (transaction, security, etc)
with which the
Work instance must be executed. |
| WorkAdapter |
This class is provided as a convenience for easily creating
WorkListener instances by extending this class
and overriding only those methods of interest. |
| WorkEvent |
This class models the various events that occur during the processing of
a
Work instance. |
| Exception | Description |
|---|---|
| WorkCompletedException |
This exception is thrown by a
WorkManager to indicate that
a submitted Work instance has completed with an exception. |
| WorkException |
A common base class for all
Work processing related exceptions. |
| WorkRejectedException |
This exception is thrown by a
WorkManager to indicate
that a submitted Work instance has been rejected. |
Copyright © 2013. All Rights Reserved.