|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
javax.resource.spi Interface ResourceAdapterAssociation
- 所有已知子接口:
- ActivationSpec
public interface ResourceAdapterAssociation
This interface specifies the methods to associate a
ResourceAdapter
object with other objects that
implement this interface like
ManagedConnectionFactory
and ActivationSpec
.
- 版本:
- 1.0
- 作者:
- Ram Jeyaraman
方法摘要 | |
---|---|
ResourceAdapter |
getResourceAdapter()
Get the associated ResourceAdapter object. |
void |
setResourceAdapter(ResourceAdapter ra)
Associate this object with a ResourceAdapter object. |
方法详细信息 |
---|
getResourceAdapter
ResourceAdapter getResourceAdapter()
- Get the associated
ResourceAdapter
object. - 返回:
- the associated
ResourceAdapter
object.
setResourceAdapter
void setResourceAdapter(ResourceAdapter ra) throws ResourceException
- Associate this object with a
ResourceAdapter
object. Note, this method must be called exactly once. That is, the association must not change during the lifetime of this object. - 参数:
ra
-ResourceAdapter
object to be associated with.- 抛出异常:
ResourceException
- generic exception.ResourceAdapterInternalException
- resource adapter related error condition.IllegalStateException
- indicates that this object is in an illegal state for the method invocation. For example, this occurs when this method is called more than once on the same object.
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.