public final class ComponentBuildingDefinitionUtils extends Object
ComponentBuildingDefinition.| Constructor and Description |
|---|
ComponentBuildingDefinitionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
registerComponentBuildingDefinitions(ServiceRegistry serviceRegistry,
ClassLoader classLoader,
ComponentBuildingDefinitionRegistry componentBuildingDefinitionRegistry,
Optional<Set<org.mule.runtime.api.meta.model.ExtensionModel>> extensionModels,
Function<ComponentBuildingDefinitionProvider,List<ComponentBuildingDefinition>> providerListFunction)
|
public static void registerComponentBuildingDefinitions(ServiceRegistry serviceRegistry, ClassLoader classLoader, ComponentBuildingDefinitionRegistry componentBuildingDefinitionRegistry, Optional<Set<org.mule.runtime.api.meta.model.ExtensionModel>> extensionModels, Function<ComponentBuildingDefinitionProvider,List<ComponentBuildingDefinition>> providerListFunction)
ComponentBuildingDefinition by searching in ServiceRegistry for providers.
ExtensionBuildingDefinitionProvider is handled in particular to set it with the List of extensionModels.serviceRegistry - ServiceRegistry for look up operation.classLoader - ClassLoader to look up for providers.componentBuildingDefinitionRegistry - ComponentBuildingDefinitionRegistry to register the ComponentBuildingDefinition.extensionModels - list of ExtensionModel to be added in case if there is a ExtensionBuildingDefinitionProvider in the list of providers discovered.providerListFunction - Function to get the list of ComponentBuildingDefinition for extensions allowing them to be cached them and reused.Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.