|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.resource.cci Interface ConnectionMetaData
public interface ConnectionMetaData
接口
ConnectionMetaData
提供有关通过 Connection 实例连接的 EIS 实例的信息。组件调用方法 Connection.getMetaData
获取 ConnectionMetaData
实例。
version | 0.8 |
See also | javax.resource.cci.Connection, javax.resource.cci.ResultSetInfo |
The interface ConnectionMetaData
provides information
about an EIS instance connected through a Connection instance. A
component calls the method Connection.getMetaData
to
get a ConnectionMetaData
instance.
- Version:
- 0.8
- Author:
- Rahul Sharma
- See Also:
Connection
,ResultSetInfo
Method Summary | |
---|---|
String |
getEISProductName()
Returns product name of the underlying EIS instance connected through the Connection that produced this metadata. |
String |
getEISProductVersion()
Returns product version of the underlying EIS instance. |
String |
getUserName()
Returns the user name for an active connection as known to the underlying EIS instance. |
Method Detail |
---|
public String
getEISProductName() throws ResourceException
返回通过生成此元数据的 Connection 连接的底层 EIS 实例的产品名称。
return | EIS 实例的产品名称 |
Throws | ResourceException: 无法获取 EIS 实例的信息 |
getEISProductName
String getEISProductName() throws ResourceException
- Returns product name of the underlying EIS instance connected
through the Connection that produced this metadata.
- Returns:
- Product name of the EIS instance
- Throws:
ResourceException
- Failed to get the information for the EIS instance
public String
getEISProductVersion() throws ResourceException
返回底层 EIS 实例的产品版本。
return | EIS 实例的产品版本。 |
Throws | ResourceException: 无法获取 EIS 实例的信息 |
getEISProductVersion
String getEISProductVersion() throws ResourceException
- Returns product version of the underlying EIS instance.
- Returns:
- Product version of an EIS instance.
- Throws:
ResourceException
- Failed to get the information for the EIS instance
public String
getUserName() throws ResourceException
返回底层 EIS 实例已知的活动连接的用户名。该名称对应于安全上下文下建立了对 EIS 实例的连接的资源主体。
return | 代表用户名的字符串 |
Throws | ResourceException: 无法获取 EIS 实例的信息 |
getUserName
String getUserName() throws ResourceException
- Returns the user name for an active connection as known to
the underlying EIS instance. The name corresponds the resource
principal under whose security context a connection to the
EIS instance has been established.
- Returns:
- String representing the user name
- Throws:
ResourceException
- Failed to get the information for the EIS instance
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!