站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档

ConnectionMetaData (JBoss J2EE API) - JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档


javax.resource.cci
Interface ConnectionMetaData


public interface ConnectionMetaData

The ConnectionMetaData provides information about the underlying resources for the connection.


Method Summary
 String getEISProductName()
          Gets the product name of the underlying resource for the connection.
 String getEISProductVersion()
          Gets the product version of the underlying resource for the connection.
 String getUserName()
          Gets the user name for the connection to the underlying resource as known to the underlying resource.
 

Method Detail

getEISProductName

public String getEISProductName()
                         throws ResourceException
Gets the product name of the underlying resource for the connection.

Returns:
Product name of underlying resource.
Throws:
ResourceException

getEISProductVersion

public String getEISProductVersion()
                            throws ResourceException
Gets the product version of the underlying resource for the connection.

Returns:
Product version name of underlying resource.
Throws:
ResourceException

getUserName

public String getUserName()
                   throws ResourceException
Gets the user name for the connection to the underlying resource as known to the underlying resource. This name corresponds to the principal under whose context the connection was first made.

Returns:
Product name of underlying resource.
Throws:
ResourceException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.