javax.resource.spi.work
Class WorkAdapter

java.lang.Object
  extended by javax.resource.spi.work.WorkAdapter
All Implemented Interfaces:
java.util.EventListener, WorkListener

public class WorkAdapter
extends java.lang.Object
implements WorkListener

A work listener convenience class


Constructor Summary
WorkAdapter()
           
 
Method Summary
 void workAccepted(WorkEvent e)
          Called with a Work instance has been accepted.
 void workCompleted(WorkEvent e)
          Called with a Work instance has completed
 void workRejected(WorkEvent e)
          Called with a Work instance has been rejected.
 void workStarted(WorkEvent e)
          Called with a Work instance has been 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 e)
Called with a Work instance has been accepted.

Specified by:
workAccepted in interface WorkListener

workRejected

public void workRejected(WorkEvent e)
Called with a Work instance has been rejected.

Specified by:
workRejected in interface WorkListener

workStarted

public void workStarted(WorkEvent e)
Called with a Work instance has been started

Specified by:
workStarted in interface WorkListener

workCompleted

public void workCompleted(WorkEvent e)
Called with a Work instance has completed

Specified by:
workCompleted in interface WorkListener