| 
 | J2EE1.4 SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.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 Workinstance has been accepted. | 
|  void | workCompleted(WorkEvent e)Invoked when a Workinstance has completed execution. | 
|  void | workRejected(WorkEvent e)Invoked when a Workinstance has been rejected. | 
|  void | workStarted(WorkEvent e)Invoked when a Workinstance 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 WorkListenerpublic void workRejected(WorkEvent e)
Work instance has been rejected.
workRejected in interface WorkListenerpublic void workStarted(WorkEvent e)
Work instance has started execution.
 This only means that a thread has been allocated.
workStarted in interface WorkListenerpublic void workCompleted(WorkEvent e)
Work instance has completed execution.
workCompleted in interface WorkListener| 
 | J2EE1.4 SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2003 Sun Microsystems, Inc. All rights reserved.