Interface JCoManagedConnectionContainer

    • Method Detail

      • getManagedConnection

        JCoConnection getManagedConnection​(java.lang.String connectionName)
        Getter for managed connection.
        Throws BackendRuntimeException in case of managed connection with given name cannot be constructed.
        Parameters:
        connectionName - name of the connection.
        Returns:
        managed connection.
      • getManagedConnection

        JCoConnection getManagedConnection​(java.lang.String connectionName,
                                           java.lang.String destinationName)
        Getter for managed connection.
        Throws BackendRuntimeException in case of managed connection with given name cannot be constructed.
        Parameters:
        connectionName - name of the connection.
        destinationName - name of the destination to be used
        Returns:
        managed connection.
      • getManagedConnection

        JCoConnection getManagedConnection​(java.lang.String connectionName,
                                           java.lang.String destinationName,
                                           java.lang.String scopeId)
        Getter for managed connection.
        Throws BackendRuntimeException in case of managed connection with given name cannot be constructed.
        Parameters:
        connectionName - name of the connection.
        destinationName - name of the destination to be used
        scopeId - scope id which is needed to identify different connections (sessions) to the same destination
        Returns:
        managed connection.