Interface JCoManagedConnectionContainer
-
- All Known Implementing Classes:
DefaultJCoManagedConnectionContainer
public interface JCoManagedConnectionContainerContainer for managed JCO connections.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JCoConnectiongetManagedConnection(java.lang.String connectionName)Getter for managed connection.JCoConnectiongetManagedConnection(java.lang.String connectionName, java.lang.String destinationName)Getter for managed connection.JCoConnectiongetManagedConnection(java.lang.String connectionName, java.lang.String destinationName, java.lang.String scopeId)Getter for managed connection.
-
-
-
Method Detail
-
getManagedConnection
JCoConnection getManagedConnection(java.lang.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(java.lang.String connectionName, java.lang.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(java.lang.String connectionName, java.lang.String destinationName, java.lang.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 usedscopeId- scope id which is needed to identify different connections (sessions) to the same destination- Returns:
- managed connection.
-
-