javax.resource.spi.work
Class WorkAdapter

java.lang.Object
  extended byjavax.resource.spi.work.WorkAdapter
All Implemented Interfaces:
java.util.EventListener, WorkListener (src)

public class WorkAdapter
extends java.lang.Object
implements WorkListener (src)

A helper for work listener implementations


Constructor Summary
WorkAdapter()
           
 
Method Summary
 void workAccepted(WorkEvent (src)  e)
          Invoked when work is accepted
 void workCompleted(WorkEvent (src)  e)
          Invoked when work is completed
 void workRejected(WorkEvent (src)  e)
          Invoked when work is rejected
 void workStarted(WorkEvent (src)  e)
          Invoked when work is started
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkAdapter

public WorkAdapter()
Method Detail

workAccepted

public void workAccepted(WorkEvent (src)  e)
Description copied from interface: WorkListener (src)
Invoked when work is accepted

Specified by:
workAccepted in interface WorkListener (src)
Parameters:
e - the event

workCompleted

public void workCompleted(WorkEvent (src)  e)
Description copied from interface: WorkListener (src)
Invoked when work is completed

Specified by:
workCompleted in interface WorkListener (src)
Parameters:
e - the event

workRejected

public void workRejected(WorkEvent (src)  e)
Description copied from interface: WorkListener (src)
Invoked when work is rejected

Specified by:
workRejected in interface WorkListener (src)
Parameters:
e - the event

workStarted

public void workStarted(WorkEvent (src)  e)
Description copied from interface: WorkListener (src)
Invoked when work is started

Specified by:
workStarted in interface WorkListener (src)
Parameters:
e - the event