|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
javax.resource.spi.work Interface WorkListener
- 所有父接口:
- EventListener
- 所有已知实现子孙类:
- WorkAdapter
public interface WorkListener
- extends EventListener
This models a WorkListener
instance which would be notified
by the WorkManager
when the various Work
processing events (work accepted, work rejected, work started,
work completed) occur.
The WorkListener
instance must not make any thread
assumptions and must be thread-safe ie., a notification could
occur from any arbitrary thread. Further, it must not make any
assumptions on the ordering of notifications.
- 版本:
- 1.0
- 作者:
- Ram Jeyaraman
方法摘要 | |
---|---|
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. |
方法详细信息 |
---|
workAccepted
void workAccepted(WorkEvent e)
- Invoked when a
Work
instance has been accepted.
workRejected
void workRejected(WorkEvent e)
- Invoked when a
Work
instance has been rejected.
workStarted
void workStarted(WorkEvent e)
- Invoked when a
Work
instance has started execution. This only means that a thread has been allocated.
workCompleted
void workCompleted(WorkEvent e)
- Invoked when a
Work
instance has completed execution.
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.