Class DefaultOutboundConnectorFactory
java.lang.Object
io.camunda.connector.runtime.util.outbound.DefaultOutboundConnectorFactory
- All Implemented Interfaces:
ConnectorFactory<OutboundConnectorFunction,,OutboundConnectorConfiguration> OutboundConnectorFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList all available configurations loaded by the runtimegetInstance(String type) Create a Connector instance by typeprotected voidvoidregisterConfiguration(OutboundConnectorConfiguration configuration) Dynamically register a new Connector configuration.voidReload all connectors from classpath and reset all manually registered connectors
-
Constructor Details
-
DefaultOutboundConnectorFactory
public DefaultOutboundConnectorFactory()
-
-
Method Details
-
getConfigurations
Description copied from interface:ConnectorFactoryList all available configurations loaded by the runtime- Specified by:
getConfigurationsin interfaceConnectorFactory<OutboundConnectorFunction,OutboundConnectorConfiguration> - Returns:
- List of available configurations
-
getInstance
Description copied from interface:ConnectorFactoryCreate a Connector instance by type- Specified by:
getInstancein interfaceConnectorFactory<OutboundConnectorFunction,OutboundConnectorConfiguration> - Parameters:
type- Connector type- Returns:
- Connector instance
-
registerConfiguration
Description copied from interface:ConnectorFactoryDynamically register a new Connector configuration. If a connector with the same type already exists, it will be overridden by the new configuration.- Specified by:
registerConfigurationin interfaceConnectorFactory<OutboundConnectorFunction,OutboundConnectorConfiguration> - Parameters:
configuration- Configuration to register
-
resetConfigurations
public void resetConfigurations()Description copied from interface:ConnectorFactoryReload all connectors from classpath and reset all manually registered connectors- Specified by:
resetConfigurationsin interfaceConnectorFactory<OutboundConnectorFunction,OutboundConnectorConfiguration>
-
loadConnectorConfigurations
protected void loadConnectorConfigurations()
-