| 
|||||||||
| 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 - A WorkEvent object that provides more 
 information about the accepted Work.public void workRejected(WorkEvent e)
Work instance has been rejected.
workRejected in interface WorkListenere - A WorkEvent object that provides more 
 information about the rejected Work.public void workStarted(WorkEvent e)
Work instance has started execution.
 This only means that a thread has been allocated.
workStarted in interface WorkListenere - A WorkEvent object that provides more 
 information about the rejected Work.public void workCompleted(WorkEvent e)
Work instance has completed execution.
workCompleted in interface WorkListenere - A WorkEvent object that provides more 
 information about the completed Work.
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 10-February-2011 12:41