Package | Description |
---|---|
javax.resource.spi.work |
J2EE Connector API - Work Management.
|
Modifier and Type | Class and Description |
---|---|
class |
WorkCompletedException
An error thrown when work is completed.
|
class |
WorkRejectedException
Thrown when a work is rejected.
|
Modifier and Type | Method and Description |
---|---|
WorkException |
WorkEvent.getException()
Get the exception
|
Modifier and Type | Method and Description |
---|---|
void |
WorkManager.doWork(Work work)
Executes the work, the call blocks until the work completes
|
void |
WorkManager.doWork(Work work,
long startTimeout,
ExecutionContext ctx,
WorkListener listener)
Executes the work, the call blocks until the work completes
|
void |
WorkManager.scheduleWork(Work work)
Executes the work, the call returns immediatley
|
void |
WorkManager.scheduleWork(Work work,
long startTimeout,
ExecutionContext ctx,
WorkListener listener)
Executes the work, the call returns immediately
|
long |
WorkManager.startWork(Work work)
Executes the work, the call blocks until the work starts
|
long |
WorkManager.startWork(Work work,
long startTimeout,
ExecutionContext ctx,
WorkListener listener)
Executes the work, the call blocks until the work starts
|
Constructor and Description |
---|
WorkEvent(Object source,
int type,
Work work,
WorkException e)
Create a new WorkEvent
|
WorkEvent(Object source,
int type,
Work work,
WorkException e,
long startDuration)
Create a new WorkEvent
|
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.