Package com.sun.gjc.spi
Class ManagedConnectionMetaDataImpl
- java.lang.Object
-
- com.sun.gjc.spi.ManagedConnectionMetaDataImpl
-
- All Implemented Interfaces:
jakarta.resource.spi.ManagedConnectionMetaData
public class ManagedConnectionMetaDataImpl extends Object implements jakarta.resource.spi.ManagedConnectionMetaData
ManagedConnectionMetaDataimplementation for Generic JDBC Connector.- Version:
- 1.0, 02/08/03
- Author:
- Evani Sai Surya Kiran
-
-
Constructor Summary
Constructors Constructor Description ManagedConnectionMetaDataImpl(ManagedConnectionImpl mc)Constructor forManagedConnectionMetaDataImpl
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEISProductName()Returns product name of the underlying EIS instance connected through the ManagedConnection.StringgetEISProductVersion()Returns product version of the underlying EIS instance connected through the ManagedConnection.intgetMaxConnections()Returns maximum limit on number of active concurrent connections that an EIS instance can support across client processes.StringgetUserName()Returns name of the user associated with the ManagedConnection instance.
-
-
-
Constructor Detail
-
ManagedConnectionMetaDataImpl
public ManagedConnectionMetaDataImpl(ManagedConnectionImpl mc) throws jakarta.resource.ResourceException
Constructor forManagedConnectionMetaDataImpl- Parameters:
mc-ManagedConnection- Throws:
jakarta.resource.ResourceException- if getting the DatabaseMetaData object fails
-
-
Method Detail
-
getEISProductName
public String getEISProductName() throws jakarta.resource.ResourceException
Returns product name of the underlying EIS instance connected through the ManagedConnection.- Specified by:
getEISProductNamein interfacejakarta.resource.spi.ManagedConnectionMetaData- Returns:
- Product name of the EIS instance
- Throws:
jakarta.resource.ResourceException
-
getEISProductVersion
public String getEISProductVersion() throws jakarta.resource.ResourceException
Returns product version of the underlying EIS instance connected through the ManagedConnection.- Specified by:
getEISProductVersionin interfacejakarta.resource.spi.ManagedConnectionMetaData- Returns:
- Product version of the EIS instance
- Throws:
jakarta.resource.ResourceException
-
getMaxConnections
public int getMaxConnections() throws jakarta.resource.ResourceExceptionReturns maximum limit on number of active concurrent connections that an EIS instance can support across client processes.- Specified by:
getMaxConnectionsin interfacejakarta.resource.spi.ManagedConnectionMetaData- Returns:
- Maximum limit for number of active concurrent connections
- Throws:
jakarta.resource.ResourceException
-
getUserName
public String getUserName() throws jakarta.resource.ResourceException
Returns name of the user associated with the ManagedConnection instance. The name corresponds to the resource principal under whose whose security context, a connection to the EIS instance has been established.- Specified by:
getUserNamein interfacejakarta.resource.spi.ManagedConnectionMetaData- Returns:
- name of the user
- Throws:
jakarta.resource.ResourceException
-
-