public interface LazyComponentInitializerAdapter extends LazyComponentInitializer
Adds internal behaviour to be able to control the initialization of components.
LazyComponentInitializer.ComponentLocationFilterLAZY_COMPONENT_INITIALIZER_SERVICE_KEY| Modifier and Type | Method and Description |
|---|---|
void |
initializeComponent(org.mule.runtime.api.component.location.Location location,
boolean applyStartPhase)
Calling this method guarantees that the requested component from the configuration will be created and initialized.
|
void |
initializeComponents(LazyComponentInitializer.ComponentLocationFilter componentLocationFilter,
boolean applyStartPhase)
Calling this method guarantees that the components accepted by the filter from the configuration will be created and
initialized.
|
initializeComponent, initializeComponentsvoid initializeComponent(org.mule.runtime.api.component.location.Location location,
boolean applyStartPhase)
location - the location of the configuration component.applyStartPhase - boolean indicating if the Start phase should be applied to the created componentsorg.mule.runtime.api.exception.MuleRuntimeException - if there's a problem creating the component or the component does not exists.void initializeComponents(LazyComponentInitializer.ComponentLocationFilter componentLocationFilter, boolean applyStartPhase)
componentLocationFilter - ComponentLocationFilter to select the Component to be initialized and they
dependent ones.applyStartPhase - boolean indicating if the Start phase should be applied to the created componentsorg.mule.runtime.api.exception.MuleRuntimeException - if there's a problem creating the component or the component does not exists.Copyright © 2003–2022 MuleSoft, Inc.. All rights reserved.