javax.resource.spi
Interface ManagedConnectionMetaData

All Known Implementing Classes:
FSManagedConnectionMetaData (src) , JmsMetaData (src)

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
 java.lang.String getEISProductName()
          Returns product name of the underlying resource.
 java.lang.String getEISProductVersion()
          Returns product version of the underlying resource.
 int getMaxConnections()
          Returns the maximum supported number of connections allowed to the underlying resource.
 java.lang.String getUserName()
          Returns user name associated with the underlying connection.
 

Method Detail

getEISProductName

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

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

getEISProductVersion

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

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

getMaxConnections

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

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

getUserName

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

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