|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WorkListener
This is a callback interface called to report on the dispatching of a Work.
It is implemented by the application and supplied to scheduleWork
methods on a WorkManager.
The J2EE context active on the thread during WorkManager scheduling
will be applied each of the event methods. See WorkManager
for details.
WorkManager
Method Summary | |
---|---|
void |
workAccepted(WorkEvent we)
This is called when the Work is accepted for dispatching. |
void |
workCompleted(WorkEvent we)
This is called once Work.run returns. |
void |
workRejected(WorkEvent we)
This is called when the Work cannot be processed prior to starting but after accept. |
void |
workStarted(WorkEvent we)
This is called when the Work is about to start. |
Method Detail |
---|
void workAccepted(WorkEvent we)
void workRejected(WorkEvent we)
void workStarted(WorkEvent we)
void workCompleted(WorkEvent we)
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs92 Copyright 2006 BEA Systems Inc. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |