Interface JCoManagedConnectionFactory
-
- All Known Implementing Classes:
DefaultJCoManagedConnectionFactory,JCoRecManagedConnectionFactory,JCoRecManagedConnectionFactoryTest.JCoManagedConnectionFactoryMock
public interface JCoManagedConnectionFactoryInterface for Managed Connection Factory.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JCoConnectiongetManagedConnection(java.lang.String connectionName, java.lang.String callerId)Returns a managed connection by a given connection name.JCoConnectiongetManagedConnection(java.lang.String connectionName, java.lang.String callerId, java.lang.String destinationName)Returns a managed connection by a given connection name.
-
-
-
Method Detail
-
getManagedConnection
JCoConnection getManagedConnection(java.lang.String connectionName, java.lang.String callerId)
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
JCoConnection getManagedConnection(java.lang.String connectionName, java.lang.String callerId, java.lang.String destinationName)
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
-
-