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

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

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

getEISProductVersion

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

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

getMaxConnections

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

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.