public final class ComponentBuildingDefinitionUtils extends Object
ComponentBuildingDefinition.| Constructor and Description |
|---|
ComponentBuildingDefinitionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static List<org.mule.runtime.dsl.api.component.ComponentBuildingDefinition> |
getArtifactComponentBuildingDefinitions(ServiceRegistry serviceRegistry,
ClassLoader classLoader)
Lookups for specific instances of
ComponentBuildingDefinitionProvider declared in the provided class loader and
retrieves all the ComponentBuildingDefinitions from those providers. |
static List<org.mule.runtime.dsl.api.component.ComponentBuildingDefinition> |
getExtensionModelsComponentBuildingDefinitions(ServiceRegistry serviceRegistry,
Set<org.mule.runtime.api.meta.model.ExtensionModel> extensionModels)
Retrieve the
ComponentBuildingDefinitions from a set of extension models. |
public static List<org.mule.runtime.dsl.api.component.ComponentBuildingDefinition> getExtensionModelsComponentBuildingDefinitions(ServiceRegistry serviceRegistry, Set<org.mule.runtime.api.meta.model.ExtensionModel> extensionModels)
ComponentBuildingDefinitions from a set of extension models.serviceRegistry - the registry to use to find the ExtensionBuildingDefinitionProvider.extensionModels - the set of extension models.ComponentBuildingDefinitions to be used for creating components declared by the extension models.public static List<org.mule.runtime.dsl.api.component.ComponentBuildingDefinition> getArtifactComponentBuildingDefinitions(ServiceRegistry serviceRegistry, ClassLoader classLoader)
ComponentBuildingDefinitionProvider declared in the provided class loader and
retrieves all the ComponentBuildingDefinitions from those providers.
This method should be used to lookup for ComponentBuildingDefinitionProviders custom implementations and not for the
ones provided when using the Mule SDK.serviceRegistry - the registry to use to find the ExtensionBuildingDefinitionProvider.classLoader - the artifact class loader used for searching instances of ComponentBuildingDefinitionProviders.ComponentBuildingDefinitions provided by the artifact class loader.Copyright © 2003–2019 MuleSoft, Inc.. All rights reserved.