Interface EndpointConnectorFactory<T extends EndpointConnector>
- All Superinterfaces:
BaseEndpointConnectorFactory<T>,ConnectorFactory<T>,HttpEndpointConnectorFactory<T>
- All Known Subinterfaces:
EndpointAsyncConnectorFactory<T>,EndpointSyncConnectorFactory<T>
@Deprecated(forRemoval=true)
public interface EndpointConnectorFactory<T extends EndpointConnector>
extends HttpEndpointConnectorFactory<T>
Deprecated, for removal: This API element is subject to removal in a future version.
Specialized factory for
EndpointConnector-
Method Summary
Modifier and TypeMethodDescriptiondefault TcreateConnector(DeploymentContext deploymentContext, String configuration, String sharedConfiguration) Deprecated, for removal: This API element is subject to removal in a future version.Allow creating new endpoint connector from the given strings configuration.Methods inherited from interface io.gravitee.gateway.reactive.api.connector.ConnectorFactory
supportedApi, supportedModes
-
Method Details
-
createConnector
default T createConnector(DeploymentContext deploymentContext, String configuration, String sharedConfiguration) Deprecated, for removal: This API element is subject to removal in a future version.Allow creating new endpoint connector from the given strings configuration. This method might look redundant withBaseEndpointConnectorFactory.createConnector(DeploymentContext, String, String)but it needs to remain here for the existing plugins which inherit from it.- Specified by:
createConnectorin interfaceBaseEndpointConnectorFactory<T extends EndpointConnector>- Parameters:
deploymentContext- context containing useful deployment entities (api, services, ...).configuration- the configuration as json string.sharedConfiguration- the shared configuration as json string.- Returns:
- new connector instance.
-
HttpEndpointConnectorFactory