public class LazyValueProviderService extends Object implements org.mule.runtime.api.value.ValueProviderService, org.mule.runtime.api.lifecycle.Initialisable
ValueProviderService implementation flavour that initialises just the required components before executing the
resolving logic.
This guarantees that if the application has been created lazily, the requested components exists before the execution of the
actual ValueProviderService.
ValueProviderService| Modifier and Type | Field and Description |
|---|---|
static String |
NON_LAZY_VALUE_PROVIDER_SERVICE |
| Modifier and Type | Method and Description |
|---|---|
Optional<org.mule.runtime.api.meta.model.parameter.ValueProviderModel> |
getModel(org.mule.runtime.api.component.location.Location location,
String providerName) |
org.mule.runtime.api.value.ValueResult |
getValues(org.mule.runtime.api.component.location.Location location,
String providerName) |
void |
initialise() |
public static final String NON_LAZY_VALUE_PROVIDER_SERVICE
public org.mule.runtime.api.value.ValueResult getValues(org.mule.runtime.api.component.location.Location location,
String providerName)
getValues in interface org.mule.runtime.api.value.ValueProviderServicepublic void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.