WorkAdapter (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.resource.spi.work Class WorkAdapter

java.lang.Object
  extended by javax.resource.spi.work.WorkAdapter
所有已实现的接口:
EventListener, WorkListener

public class WorkAdapter
extends Object
implements WorkListener

This class is provided as a convenience for easily creating WorkListener instances by extending this class and overriding only those methods of interest.

版本:
1.0
作者:
Ram Jeyaraman

构造器摘要
WorkAdapter()
           
 
方法摘要
 void workAccepted(WorkEvent e)
          Invoked when a Work instance has been accepted.
 void workCompleted(WorkEvent e)
          Invoked when a Work instance has completed execution.
 void workRejected(WorkEvent e)
          Invoked when a Work instance has been rejected.
 void workStarted(WorkEvent e)
          Invoked when a Work instance has started execution.
 
类方法继承 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造器详细信息

WorkAdapter

public WorkAdapter()
方法详细信息

workAccepted

public void workAccepted(WorkEvent e)
Invoked when a Work instance has been accepted.

规范说明:
workAccepted in interface WorkListener

workRejected

public void workRejected(WorkEvent e)
Invoked when a Work instance has been rejected.

规范说明:
workRejected in interface WorkListener

workStarted

public void workStarted(WorkEvent e)
Invoked when a Work instance has started execution. This only means that a thread has been allocated.

规范说明:
workStarted in interface WorkListener

workCompleted

public void workCompleted(WorkEvent e)
Invoked when a Work instance has completed execution.

规范说明:
workCompleted in interface WorkListener

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.