|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.resource.spi.work.WorkAdapter
public class WorkAdapter

This class is provided as a convenience for easily creating
WorkListener instances by extending this class
and overriding only those methods of interest.
| Constructor Summary | |
|---|---|
WorkAdapter()
|
|
| Method Summary | |
|---|---|
void |
workAccepted(WorkEvent e)
Invoked when a Work instance has been accepted. |
void |
workCompleted(WorkEvent e)
Invoked when a Work instance has completed execution. |
void |
workRejected(WorkEvent e)
Invoked when a Work instance has been rejected. |
void |
workStarted(WorkEvent e)
Invoked when a Work instance has started execution. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WorkAdapter()
| Method Detail |
|---|
public void workAccepted(WorkEvent e)
Work instance has been accepted.
workAccepted in interface WorkListenere - The work eventpublic void workRejected(WorkEvent e)
Work instance has been rejected.
workRejected in interface WorkListenere - The work eventpublic void workStarted(WorkEvent e)
Work instance has started execution.
This only means that a thread has been allocated.
workStarted in interface WorkListenere - The work eventpublic void workCompleted(WorkEvent e)
Work instance has completed execution.
workCompleted in interface WorkListenere - The work event
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||