Package com.seeq.link.agent.interfaces
Interface ConnectorLoader
- All Known Implementing Classes:
DefaultConnectorLoader
public interface ConnectorLoader
The interface that is used to load Connector DLLs into memory and inventory the ConnectorTypes that are supported.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(String[] connectorSearchPaths, URLClassLoader sharedClassLoader) Initializes the connector loader with a set of search paths to look for connectors on.List<com.seeq.link.sdk.interfaces.Connector>
loadConnectorJARs
(boolean isolateClassLoaders) Searches for connectors on the search path, loads any that it finds, and returns a list of constructed connectors that implementedConnector
.
-
Method Details
-
initialize
Initializes the connector loader with a set of search paths to look for connectors on.- Parameters:
connectorSearchPaths
- An array of search paths, which may contain "glob" wildcards
-
loadConnectorJARs
Searches for connectors on the search path, loads any that it finds, and returns a list of constructed connectors that implementedConnector
.- Parameters:
isolateClassLoaders
- true if each connector should be loaded with its own ClassLoader- Returns:
- A list of constructed connectors that implemented
Connector
-