|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use WorkException | |
|---|---|
| javax.resource.spi.work | This package contains APIs for the work management contract. |
| Uses of WorkException in javax.resource.spi.work |
|---|
| Subclasses of WorkException in javax.resource.spi.work | |
|---|---|
class |
WorkCompletedException
This exception is thrown by a WorkManager to indicate that
a submitted Work instance has completed with an exception. |
class |
WorkRejectedException
This exception is thrown by a WorkManager to indicate
that a submitted Work instance has been rejected. |
| Methods in javax.resource.spi.work that return WorkException | |
|---|---|
WorkException |
WorkEvent.getException()
Return the WorkException. |
| Methods in javax.resource.spi.work that throw WorkException | |
|---|---|
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 WorkException | |
|---|---|
WorkEvent(java.lang.Object source,
int type,
Work work,
WorkException exc)
Constructor. |
|
WorkEvent(java.lang.Object source,
int type,
Work work,
WorkException exc,
long startDuration)
Constructor. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||