public class MinimalApplicationModelGenerator extends Object
ComponentModel configuration associated is introspected to find it dependencies
based on it's ComponentBuildingDefinition. This process is recursively done for each
of the dependencies in order to find all the required ComponentModels that must be created for the requested
ComponentModel to work properly.| Constructor and Description |
|---|
MinimalApplicationModelGenerator(ConfigurationDependencyResolver dependencyResolver)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
ApplicationModel |
getMinimalModel(org.mule.runtime.api.component.location.Location location)
Resolves the minimal set of
ComponentModels for a component within a flow. |
public MinimalApplicationModelGenerator(ConfigurationDependencyResolver dependencyResolver)
dependencyResolver - a ConfigurationDependencyResolver associated with an ApplicationModelpublic ApplicationModel getMinimalModel(org.mule.runtime.api.component.location.Location location)
ComponentModels for a component within a flow.location - the component path in which the component is located.ApplicationModel with the minimal set of ComponentModels required.NoSuchComponentModelException - if the requested component does not exists.Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.