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

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


javax.resource.spi.work
Class WorkAdapter

java.lang.Object
  extended byjavax.resource.spi.work.WorkAdapter
All Implemented Interfaces:
EventListener, WorkListener

public class WorkAdapter
extends Object
implements WorkListener

A helper for work listener implementations


Constructor Summary
WorkAdapter()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkAdapter

public WorkAdapter()
Method Detail

workAccepted

public void workAccepted(WorkEvent e)
Description copied from interface: WorkListener
Invoked when work is accepted

Specified by:
workAccepted in interface WorkListener
Parameters:
e - the event

workCompleted

public void workCompleted(WorkEvent e)
Description copied from interface: WorkListener
Invoked when work is completed

Specified by:
workCompleted in interface WorkListener
Parameters:
e - the event

workRejected

public void workRejected(WorkEvent e)
Description copied from interface: WorkListener
Invoked when work is rejected

Specified by:
workRejected in interface WorkListener
Parameters:
e - the event

workStarted

public void workStarted(WorkEvent e)
Description copied from interface: WorkListener
Invoked when work is started

Specified by:
workStarted in interface WorkListener
Parameters:
e - the event


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