public abstract class BaseApplicationModelFactory extends Object implements ApplicationModelFactory
ApplicationModelFactory.| Modifier and Type | Field and Description |
|---|---|
protected static String |
APP_TYPES_DATA |
protected static String |
MULE |
| Constructor and Description |
|---|
BaseApplicationModelFactory(ComponentBuildingDefinitionLoader componentBuildingDefinitionLoader)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
getSearchPaths() |
protected org.mule.runtime.config.spring.api.dsl.model.ApplicationModel |
loadApplicationModel(List<org.mule.runtime.config.spring.api.dsl.processor.ConfigFile> configFiles,
Set<org.mule.runtime.api.meta.model.ExtensionModel> extensionModels,
org.mule.runtime.config.spring.api.dsl.model.ResourceProvider externalResourceProvider)
Loads
ApplicationModel from ConfigLine. |
protected Optional<org.mule.runtime.config.spring.api.dsl.processor.ConfigFile> |
loadConfigFile(String fileName,
InputStream inputStream,
Set<org.mule.runtime.api.meta.model.ExtensionModel> extensionModels)
Loads
ConfigFile from the configuration file InputStream. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateApplicationModelprotected static final String APP_TYPES_DATA
protected static final String MULE
public BaseApplicationModelFactory(ComponentBuildingDefinitionLoader componentBuildingDefinitionLoader)
componentBuildingDefinitionLoader - the loader to use for getting the
ComponentBuildingDefinitions from a
ComponentBuildingDefinitionProvider.protected Optional<org.mule.runtime.config.spring.api.dsl.processor.ConfigFile> loadConfigFile(String fileName, InputStream inputStream, Set<org.mule.runtime.api.meta.model.ExtensionModel> extensionModels)
ConfigFile from the configuration file InputStream.fileName - the name of the config file.inputStream - InputStream content of the file.extensionModels - List of ExtensionModel discovered from the application.ConfigFile.protected org.mule.runtime.config.spring.api.dsl.model.ApplicationModel loadApplicationModel(List<org.mule.runtime.config.spring.api.dsl.processor.ConfigFile> configFiles, Set<org.mule.runtime.api.meta.model.ExtensionModel> extensionModels, org.mule.runtime.config.spring.api.dsl.model.ResourceProvider externalResourceProvider) throws Exception
ApplicationModel from ConfigLine.configFiles - configFiles to be added to the ApplicationModel.extensionModels - Set of extension models to be used for generating the application
model.externalResourceProvider - the provider for configuration properties files and ${file::name.txt} placeholdersApplicationModel.ExceptionCopyright © 2017 MuleSoft, Inc.. All rights reserved.