@NoImplement public interface LazyComponentInitializer
Modifier and Type | Interface and Description |
---|---|
static interface |
LazyComponentInitializer.ComponentLocationFilter
Defines which
components should be initialized by accepting it by ComponentLocation . |
Modifier and Type | Field and Description |
---|---|
static String |
LAZY_COMPONENT_INITIALIZER_SERVICE_KEY
Key under which the
LazyComponentInitializer can be found in the Registry |
Modifier and Type | Method and Description |
---|---|
void |
initializeComponent(Location location)
Calling this method guarantees that the requested component from the configuration will be created, initialized and
started.
|
void |
initializeComponents(LazyComponentInitializer.ComponentLocationFilter componentLocationFilter)
Calling this method guarantees that the components accepted by the filter from the configuration will be created,
initialized and started.
|
static final String LAZY_COMPONENT_INITIALIZER_SERVICE_KEY
LazyComponentInitializer
can be found in the Registry
void initializeComponents(LazyComponentInitializer.ComponentLocationFilter componentLocationFilter)
componentLocationFilter
- LazyComponentInitializer.ComponentLocationFilter
to select the Component
to be initialized and they dependent ones.MuleRuntimeException
- if there's a problem creating the component or the component does not exists.void initializeComponent(Location location)
location
- the location of the configuration component.MuleRuntimeException
- if there's a problem creating the component or the component does not exists.Copyright © 2018. All rights reserved.