javax.resource.spi.work
Interface WorkListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
JmsServerSession (src) , NewMsgsWorker (src) , WorkAdapter (src)

public interface WorkListener
extends java.util.EventListener

Listens to events on work


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
 

Method Detail

workAccepted

public void workAccepted(WorkEvent (src)  e)
Invoked when work is accepted

Parameters:
e - the event

workRejected

public void workRejected(WorkEvent (src)  e)
Invoked when work is rejected

Parameters:
e - the event

workStarted

public void workStarted(WorkEvent (src)  e)
Invoked when work is started

Parameters:
e - the event

workCompleted

public void workCompleted(WorkEvent (src)  e)
Invoked when work is completed

Parameters:
e - the event