Class 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 Detail

      • ManagedConnectionMetaDataImpl

        public ManagedConnectionMetaDataImpl​(ManagedConnectionImpl mc)
                                      throws jakarta.resource.ResourceException
        Constructor for ManagedConnectionMetaDataImpl
        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 interface jakarta.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 interface jakarta.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 interface jakarta.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 interface jakarta.resource.spi.ManagedConnectionMetaData
        Returns:
        name of the user
        Throws:
        jakarta.resource.ResourceException