public final class ImplicitConnectionProviderValueResolver extends Object implements ValueResolver<org.mule.runtime.api.connection.ConnectionProvider>
ImplicitConnectionProviderFactory to create an implicit ConnectionProvider.
This is a static ValueResolver. The ConnectionProvider is created the first time the resolve(Event)
method is invoked on this instance. Subsequent invokations 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,
MuleContext muleContext) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDynamic()
returns
false if subsequent invocations to ValueResolver.resolve(Event) will return the same value. |
org.mule.runtime.api.connection.ConnectionProvider |
resolve(Event event)
Resolves a value from the given
event |
public ImplicitConnectionProviderValueResolver(String name, org.mule.runtime.api.meta.model.ExtensionModel extensionModel, org.mule.runtime.api.meta.model.config.ConfigurationModel configurationModel, MuleContext muleContext)
public org.mule.runtime.api.connection.ConnectionProvider resolve(Event event) throws org.mule.runtime.api.exception.MuleException
ValueResolvereventresolve in interface ValueResolver<org.mule.runtime.api.connection.ConnectionProvider>event - a Eventorg.mule.runtime.api.exception.MuleException - if the resolution of the value failspublic boolean isDynamic()
ValueResolverfalse if subsequent invocations to ValueResolver.resolve(Event) 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.connection.ConnectionProvider>falseCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.