Interface JCoManagedConnectionFactory

All Known Implementing Classes:
DefaultJCoManagedConnectionFactory, JCoRecManagedConnectionFactory, JCoRecManagedConnectionFactoryTest.JCoManagedConnectionFactoryMock

public interface JCoManagedConnectionFactory
Interface for Managed Connection Factory.
  • Method Details

    • getManagedConnection

      JCoConnection getManagedConnection(String connectionName, String callerId)
      Returns a managed connection by a given connection name.
      Parameters:
      connectionName - name of the connection
      callerId - id for identifying the caller used for debugging
      Returns:
      managed connection instance
    • getManagedConnection

      JCoConnection getManagedConnection(String connectionName, String callerId, String destinationName)
      Returns a managed connection by a given connection name.
      Parameters:
      connectionName - name of the connection
      callerId - id for identifying the caller used for debugging
      destinationName - name of the destination to be used
      Returns:
      managed connection instance