java.lang.Object
jakarta.resource.spi.work.WorkAdapter
- All Implemented Interfaces:
 WorkListener,EventListener
This class is provided as a convenience for easily creating 
 
WorkListener instances by extending this class
 and overriding only those methods of interest.- Version:
 - 1.0
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidInvoked when aWorkinstance has been accepted.voidInvoked when aWorkinstance has completed execution.voidInvoked when aWorkinstance has been rejected.voidInvoked when aWorkinstance has started execution. 
- 
Constructor Details
- 
WorkAdapter
public WorkAdapter() 
 - 
 - 
Method Details
- 
workAccepted
Invoked when aWorkinstance has been accepted.- Specified by:
 workAcceptedin interfaceWorkListener- Parameters:
 e- AWorkEventobject that provides more information about the accepted Work.
 - 
workRejected
Invoked when aWorkinstance has been rejected.- Specified by:
 workRejectedin interfaceWorkListener- Parameters:
 e- AWorkEventobject that provides more information about the rejected Work.
 - 
workStarted
Invoked when aWorkinstance has started execution. This only means that a thread has been allocated.- Specified by:
 workStartedin interfaceWorkListener- Parameters:
 e- AWorkEventobject that provides more information about the rejected Work.
 - 
workCompleted
Invoked when aWorkinstance has completed execution.- Specified by:
 workCompletedin interfaceWorkListener- Parameters:
 e- AWorkEventobject that provides more information about the completed Work.
 
 -