|
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 | ||||||||
javax.resource.spi Interface BootstrapContext
public interface BootstrapContext
This provides a mechanism to pass a bootstrap context to a resource adapter
instance when it is bootstrapped. That is, when
(start(BootstrapContext)) method on the
ResourceAdapter class is invoked. The bootstrap
context contains references to useful facilities that could be used by the
resource adapter instance.
- 版本:
- 1.0
- 作者:
- Ram Jeyaraman
| 方法摘要 | |
|---|---|
Timer |
createTimer()
Creates a new java.util.Timer instance. |
WorkManager |
getWorkManager()
Provides a handle to a WorkManager instance. |
XATerminator |
getXATerminator()
Provides a handle to a XATerminator instance. |
| 方法详细信息 |
|---|
getWorkManager
WorkManager getWorkManager()
- Provides a handle to a
WorkManagerinstance. TheWorkManagerinstance could be used by a resource adapter to do its work by submittingWorkinstances for execution. - 返回:
- a
WorkManagerinstance.
getXATerminator
XATerminator getXATerminator()
- Provides a handle to a
XATerminatorinstance. TheXATerminatorinstance could be used by a resource adapter to flow-in transaction completion and crash recovery calls from an EIS. - 返回:
- a
XATerminatorinstance.
createTimer
Timer createTimer() throws UnavailableException
- Creates a new
java.util.Timerinstance. TheTimerinstance could be used to perform periodicWorkexecutions or other tasks. - 返回:
- a new
Timerinstance. - 抛出异常:
UnavailableException- indicates that aTimerinstance is not available. The request may be retried later.
|
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 | ||||||||
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.