javax.resource.spi.work
Interface WorkListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
WorkAdapter

public interface WorkListener
extends java.util.EventListener

A work instance.


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
 

Method Detail

workAccepted

void workAccepted(WorkEvent e)
Called with a Work instance has been accepted.


workRejected

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


workStarted

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


workCompleted

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