use of org.mule.runtime.core.api.extension.ExtensionManager in project mule by mulesoft.
the class MuleArtifactContext method createApplicationParser.
private XmlApplicationParser createApplicationParser(List<ClassLoader> pluginsClassLoaders) {
ExtensionManager extensionManager = muleContext.getExtensionManager();
ServiceRegistry customRegistry = extensionManager != null ? new XmlApplicationServiceRegistry(serviceRegistry, DslResolvingContext.getDefault(extensionManager.getExtensions())) : serviceRegistry;
return new XmlApplicationParser(customRegistry, pluginsClassLoaders);
}
Aggregations