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

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


javax.resource.spi
Interface ManagedConnectionMetaData


public interface ManagedConnectionMetaData

The ManagedConnectionMetaData interface provides information about the underlying resource associated with a ManagedConnetion. The Application Server can use this information to get information at runtime from the underlying resource.


Method Summary
 String getEISProductName()
          Returns product name of the underlying resource.
 String getEISProductVersion()
          Returns product version of the underlying resource.
 int getMaxConnections()
          Returns the maximum supported number of connections allowed to the underlying resource.
 String getUserName()
          Returns user name associated with the underlying connection.
 

Method Detail

getEISProductName

public String getEISProductName()
                         throws ResourceException
Returns product name of the underlying resource.

Returns:
the product name
Throws:
ResourceException - for a generic error

getEISProductVersion

public String getEISProductVersion()
                            throws ResourceException
Returns product version of the underlying resource.

Returns:
the product version
Throws:
ResourceException - for a generic error

getMaxConnections

public int getMaxConnections()
                      throws ResourceException
Returns the maximum supported number of connections allowed to the underlying resource.

Returns:
the maximum number of connections
Throws:
ResourceException - for a generic error

getUserName

public String getUserName()
                   throws ResourceException
Returns user name associated with the underlying connection.

Returns:
the user name
Throws:
ResourceException - for a generic error


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