Interface JCoManagedConnectionContainer

All Known Implementing Classes:
DefaultJCoManagedConnectionContainer

public interface JCoManagedConnectionContainer
Container for managed JCO connections.
  • Method Details

    • getManagedConnection

      JCoConnection getManagedConnection(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(String connectionName, 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(String connectionName, String destinationName, 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.