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.6.1 $

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

void workAccepted(WorkEvent e)
Invoked when work is accepted

Parameters:
e - the event

workRejected

void workRejected(WorkEvent e)
Invoked when work is rejected

Parameters:
e - the event

workStarted

void workStarted(WorkEvent e)
Invoked when work is started

Parameters:
e - the event

workCompleted

void workCompleted(WorkEvent e)
Invoked when work is completed

Parameters:
e - the event


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