Interface JCoManagedConnectionFactory
- All Known Implementing Classes:
DefaultJCoManagedConnectionFactory,JCoRecManagedConnectionFactory,JCoRecManagedConnectionFactoryTest.JCoManagedConnectionFactoryMock
public interface JCoManagedConnectionFactory
Interface for Managed Connection Factory.
-
Method Summary
Modifier and TypeMethodDescriptiongetManagedConnection(String connectionName, String callerId) Returns a managed connection by a given connection name.getManagedConnection(String connectionName, String callerId, String destinationName) Returns a managed connection by a given connection name.
-
Method Details
-
getManagedConnection
Returns a managed connection by a given connection name.- Parameters:
connectionName- name of the connectioncallerId- id for identifying the caller used for debugging- Returns:
- managed connection instance
-
getManagedConnection
Returns a managed connection by a given connection name.- Parameters:
connectionName- name of the connectioncallerId- id for identifying the caller used for debuggingdestinationName- name of the destination to be used- Returns:
- managed connection instance
-