public final class DefaultImplicitConnectionProviderFactory<T> extends Object implements ImplicitConnectionProviderFactory
ImplicitConnectionProviderFactory| Constructor and Description |
|---|
DefaultImplicitConnectionProviderFactory(org.mule.runtime.api.meta.model.ExtensionModel extensionModel,
org.mule.runtime.api.meta.model.config.ConfigurationModel configurationModel,
ReflectionCache reflectionCache,
MuleContext muleContext) |
| Modifier and Type | Method and Description |
|---|---|
<T> org.mule.runtime.api.util.Pair<org.mule.runtime.api.connection.ConnectionProvider<T>,ResolverSetResult> |
createImplicitConnectionProvider(String configName,
CoreEvent event)
Creates a new
ConnectionProvider based on the ConnectionProviderModel available to the extensionModel
and configurationModel |
Optional<ResolverSet> |
getResolverSet() |
boolean |
isDynamic()
Checking if an implicit connection provider is dynamic implies that there is a suitable implicit connection provider
for the extension.
|
public DefaultImplicitConnectionProviderFactory(org.mule.runtime.api.meta.model.ExtensionModel extensionModel,
org.mule.runtime.api.meta.model.config.ConfigurationModel configurationModel,
ReflectionCache reflectionCache,
MuleContext muleContext)
public <T> org.mule.runtime.api.util.Pair<org.mule.runtime.api.connection.ConnectionProvider<T>,ResolverSetResult> createImplicitConnectionProvider(String configName, CoreEvent event)
ConnectionProvider based on the ConnectionProviderModel available to the extensionModel
and configurationModelcreateImplicitConnectionProvider in interface ImplicitConnectionProviderFactoryT - the generic type of the connections that the returned provider producesconfigName - the name of the configuration that will own the returned ConnectionProviderevent - the CoreEvent that will be used to evaluate any default parameters that requires resolving an expressionConnectionProviderpublic boolean isDynamic()
IllegalStateException will be thrown.isDynamic in interface ImplicitConnectionProviderFactoryResolverSet used for resolving the ConnectionProvider is dynamic or not.public Optional<ResolverSet> getResolverSet()
getResolverSet in interface ImplicitConnectionProviderFactoryResolverSet used for resolving the ConnectionProvider parametersCopyright © 2003–2024 MuleSoft, Inc.. All rights reserved.