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
ManagedConnectionMetaData
implementation 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 String
getEISProductName()
Returns product name of the underlying EIS instance connected through the ManagedConnection.String
getEISProductVersion()
Returns product version of the underlying EIS instance connected through the ManagedConnection.int
getMaxConnections()
Returns maximum limit on number of active concurrent connections that an EIS instance can support across client processes.String
getUserName()
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:
getEISProductName
in 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:
getEISProductVersion
in interfacejakarta.resource.spi.ManagedConnectionMetaData
- Returns:
- Product version of the EIS instance
- Throws:
jakarta.resource.ResourceException
-
getMaxConnections
public int getMaxConnections() throws jakarta.resource.ResourceException
Returns maximum limit on number of active concurrent connections that an EIS instance can support across client processes.- Specified by:
getMaxConnections
in 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:
getUserName
in interfacejakarta.resource.spi.ManagedConnectionMetaData
- Returns:
- name of the user
- Throws:
jakarta.resource.ResourceException
-
-