站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档

WorkListener (JBoss J2EE API) - JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档


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.