Interface ConnectionManager

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Object allocateNonTxConnection​(jakarta.resource.spi.ManagedConnectionFactory mcf, jakarta.resource.spi.ConnectionRequestInfo cxRequestInfo)
      API for internal glassfish modules (eg: jdbcra) to get a connection that does not take part in transaction.
      String getJndiName()
      provides the JndiName of the resource
      • Methods inherited from interface jakarta.resource.spi.ConnectionManager

        allocateConnection
    • Method Detail

      • allocateNonTxConnection

        Object allocateNonTxConnection​(jakarta.resource.spi.ManagedConnectionFactory mcf,
                                       jakarta.resource.spi.ConnectionRequestInfo cxRequestInfo)
                                throws jakarta.resource.ResourceException
        API for internal glassfish modules (eg: jdbcra) to get a connection that does not take part in transaction.
        Parameters:
        mcf - ManagedConnectionFactory
        cxRequestInfo - ConnectionRequestInfo
        Returns:
        Connection
        Throws:
        jakarta.resource.ResourceException - when unable to provide a connection
      • getJndiName

        String getJndiName()
        provides the JndiName of the resource
        Returns:
        jndi name