|
JavaTM 2 Platform Ent. Ed. v1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.resource.spi.work.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 WorkListener
public void workRejected(WorkEvent e)
Work
instance has been rejected.
workRejected
in interface WorkListener
public void workStarted(WorkEvent e)
Work
instance has started execution.
This only means that a thread has been allocated.
workStarted
in interface WorkListener
public void workCompleted(WorkEvent e)
Work
instance has completed execution.
workCompleted
in interface WorkListener
|
JavaTM 2 Platform Ent. Ed. v1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2003 Sun Microsystems, Inc. All rights reserved.