javax.resource.spi.work
Interface WorkListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
WorkAdapter

public interface WorkListener
extends EventListener

Listens to events on work

Version:
$Revision: 1.4 $

Method Summary
 void workAccepted(WorkEvent e)
          Invoked when work is accepted
 void workCompleted(WorkEvent e)
          Invoked when work is completed
 void workRejected(WorkEvent e)
          Invoked when work is rejected
 void workStarted(WorkEvent e)
          Invoked when work is started
 

Method Detail

workAccepted

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

Parameters:
e - the event

workRejected

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

Parameters:
e - the event

workStarted

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

Parameters:
e - the event

workCompleted

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

Parameters:
e - the event


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.