Module org.mule.runtime.dsl.api
Class ComponentBuildingDefinitionProviderUtils
java.lang.Object
org.mule.runtime.dsl.api.component.config.ComponentBuildingDefinitionProviderUtils
Provides utilities for the Runtime to discover
ComponentBuildingDefinitionProvider implementations.- Since:
- 1.5.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic final Stream<ComponentBuildingDefinitionProvider>Looks up implementations ofComponentBuildingDefinitionProviderfrom the Mule container.static final Stream<ComponentBuildingDefinitionProvider>lookupComponentBuildingDefinitionProviders(ClassLoader deployableArtifactClassLoader) Looks up implementations ofComponentBuildingDefinitionProviderwith the provided classloader.
-
Method Details
-
lookupComponentBuildingDefinitionProviders
public static final Stream<ComponentBuildingDefinitionProvider> lookupComponentBuildingDefinitionProviders()Looks up implementations ofComponentBuildingDefinitionProviderfrom the Mule container.- Returns:
- the discovered
ComponentBuildingDefinitionProvider.
-
lookupComponentBuildingDefinitionProviders
public static final Stream<ComponentBuildingDefinitionProvider> lookupComponentBuildingDefinitionProviders(ClassLoader deployableArtifactClassLoader) Looks up implementations ofComponentBuildingDefinitionProviderwith the provided classloader.- Parameters:
classLoader- the classloader of a deployable artifact to use for loading the services through SPI.- Returns:
- the discovered
ComponentBuildingDefinitionProvider.
-