Interface JCoManagedConnectionContainer
- All Known Implementing Classes:
DefaultJCoManagedConnectionContainer
public interface JCoManagedConnectionContainer
Container for managed JCO connections.
-
Method Summary
Modifier and TypeMethodDescriptiongetManagedConnection(String connectionName) Getter for managed connection.getManagedConnection(String connectionName, String destinationName) Getter for managed connection.getManagedConnection(String connectionName, String destinationName, String scopeId) Getter for managed connection.
-
Method Details
-
getManagedConnection
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
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
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 usedscopeId- scope id which is needed to identify different connections (sessions) to the same destination- Returns:
- managed connection.
-