ConnectionMetaData (Java EE 5 SDK)

Java

Java EE 5 SDK

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


javax.resource.cci Interface ConnectionMetaData


public interface ConnectionMetaData

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.

版本:
0.8
作者:
Rahul Sharma
另请参见:
Connection, ResultSetInfo

方法摘要
 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.
 

方法详细信息

getEISProductName

String getEISProductName()
                         throws ResourceException
Returns product name of the underlying EIS instance connected through the Connection that produced this metadata.

返回:
Product name of the EIS instance
抛出异常:
ResourceException - Failed to get the information for the EIS instance

getEISProductVersion

String getEISProductVersion()
                            throws ResourceException
Returns product version of the underlying EIS instance.

返回:
Product version of an EIS instance.
抛出异常:
ResourceException - Failed to get the information for the EIS instance

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.

返回:
String representing the user name
抛出异常:
ResourceException - Failed to get the information for the EIS instance

Java EE 5 SDK

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


提交错误或意见

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