Class ConnectionManagerTemplate
java.lang.Object
com.aquima.interactions.test.templates.ConnectionManagerTemplate
This template can be used to create a connection manager.
- Since:
- 6.3
- Author:
- Jon van Leuven
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addConnection
(String name, com.aquima.interactions.foundation.connectivity.IConnection connection) This method adds a connection implementation with a name.protected com.aquima.interactions.foundation.connectivity.IConnection
getConnection
(String name) protected String[]
protected String[]
getConnectionNames
(com.aquima.interactions.foundation.connectivity.ConnectionType type) com.aquima.interactions.foundation.connectivity.IConnectionManager
This method creates a connection manager with the added connections.
-
Constructor Details
-
ConnectionManagerTemplate
public ConnectionManagerTemplate()
-
-
Method Details
-
addConnection
public void addConnection(String name, com.aquima.interactions.foundation.connectivity.IConnection connection) This method adds a connection implementation with a name.- Parameters:
name
- The name of the connection.connection
- The connection implementation.
-
getConnection
-
toFactory
public com.aquima.interactions.foundation.connectivity.IConnectionManager toFactory()This method creates a connection manager with the added connections.- Returns:
- The connection manager, never null
-
getConnectionNames
protected String[] getConnectionNames(com.aquima.interactions.foundation.connectivity.ConnectionType type) -
getConnectionNames
-