public final class ImplicitConnectionProviderValueResolver<C> extends Object implements ConnectionProviderValueResolver<C>
ImplicitConnectionProviderFactory to create an implicit ConnectionProvider.
This is a static ValueResolver. The ConnectionProvider is created the first time the
resolve(ValueResolvingContext) method is invoked on this instance. Subsequent invocations will return the same
instance.
This class is thread-safe
| Constructor and Description |
|---|
ImplicitConnectionProviderValueResolver(String name,
org.mule.runtime.api.meta.model.ExtensionModel extensionModel,
org.mule.runtime.api.meta.model.config.ConfigurationModel configurationModel,
ReflectionCache reflectionCache,
ExpressionManager expressionManager,
MuleContext muleContext) |
| Modifier and Type | Method and Description |
|---|---|
Optional<ResolverSet> |
getResolverSet() |
boolean |
isDynamic()
Returns
false if subsequent invocations to ValueResolver.resolve(ValueResolvingContext) will return the same value. |
org.mule.runtime.api.util.Pair<org.mule.runtime.api.connection.ConnectionProvider<C>,ResolverSetResult> |
resolve(ValueResolvingContext context)
Resolves a value from the given
event |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetObjectBuilderpublic ImplicitConnectionProviderValueResolver(String name, org.mule.runtime.api.meta.model.ExtensionModel extensionModel, org.mule.runtime.api.meta.model.config.ConfigurationModel configurationModel, ReflectionCache reflectionCache, ExpressionManager expressionManager, MuleContext muleContext)
public org.mule.runtime.api.util.Pair<org.mule.runtime.api.connection.ConnectionProvider<C>,ResolverSetResult> resolve(ValueResolvingContext context)
ValueResolvereventresolve in interface ValueResolver<org.mule.runtime.api.util.Pair<org.mule.runtime.api.connection.ConnectionProvider<C>,ResolverSetResult>>context - the context for the current resolution attemptpublic boolean isDynamic()
false if subsequent invocations to ValueResolver.resolve(ValueResolvingContext) will return the same value. Notice
that if it returns true, then it might return different values per invocation but that's not guaranteed.isDynamic in interface ValueResolver<org.mule.runtime.api.util.Pair<org.mule.runtime.api.connection.ConnectionProvider<C>,ResolverSetResult>>public Optional<ResolverSet> getResolverSet()
getResolverSet in interface ConnectionProviderValueResolver<C>ResolverSet that will be used to resolve the values from a given event if there is any.Copyright © 2003–2025 MuleSoft, Inc.. All rights reserved.