Package com.darkcollective.relix.processor.connector
package com.darkcollective.relix.processor.connector
The connector provider interface, and connector plugin provisioning.
A RelixConnector reads one kind
of external source, configured by a
ConnectorConfig; connectors are
discovered with ServiceLoader or registered on a session.
ConnectorProvisioner downloads a
plugin a host asks for, from the ConnectorCatalog,
through a Fetcher.
-
ClassDescriptionOne downloadable JAR — a URL and its expected SHA-256 (lower-case hex) — shared by the connector-plugin catalog (
ConnectorCatalog) and the JDBC driver catalog a connector provider keeps (DriverCatalog, inrelix-connectors-std).A catalog of downloadable connector plugins — the SPI-side analogue of the JDBCDriverCatalog.A connector plugin: the type token it provides and the artifacts to download.The raw, type-agnostic configuration for one connector-backed relation — the key/value pairs from aconnectionorsourcedeclaration, already environment-substituted.Provisions a connector plugin on demand: when a connection names aconnectorTypefor which noRelixConnectoris registered, this looks the plugin up in theConnectorCatalog, downloads its artifacts (the connector JAR + its driver/runtime JARs, each checksum-verified) into the connector directory, and reports the outcome — the caller then rebuilds itsConnectorRegistryto pick up the new plugin.The result of a provisioning attempt (the caller checks the registry for "already present").A provisioning outcome plus a human-readable explanation.Fetches the bytes at a URI — the network seam forDriverDownloader.The plug-in boundary for an external data source — the open seam that replaces the closed CSV/JSON/JDBC dispatch.