public class XmlExtensionModelLoader extends Object implements org.mule.runtime.extension.api.loader.ExtensionModelLoader
ExtensionModelLoader for those plugins that have an ID that matches with DESCRIBER_ID,
which implies that are extensions built through XML.
This class will be responsible of picking up the proper Describer which, in this XML scenario, will the
XmlBasedDescriber class.| Modifier and Type | Field and Description |
|---|---|
static String |
DESCRIBER_ID
The ID which represents
this Describer that will be used to execute the lookup when reading the descriptor file. |
static String |
RESOURCE_XML
Attribute to look for in the parametrized attributes picked up from the descriptor.
|
| Constructor and Description |
|---|
XmlExtensionModelLoader() |
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
org.mule.runtime.api.meta.model.ExtensionModel |
loadExtensionModel(ClassLoader pluginClassLoader,
Map<String,Object> attributes) |
public static final String RESOURCE_XML
public static final String DESCRIBER_ID
this Describer that will be used to execute the lookup when reading the descriptor file.MulePluginModel.getExtensionModelLoaderDescriptor(),
Constant Field Valuespublic String getId()
getId in interface org.mule.runtime.extension.api.loader.ExtensionModelLoaderpublic org.mule.runtime.api.meta.model.ExtensionModel loadExtensionModel(ClassLoader pluginClassLoader, Map<String,Object> attributes)
loadExtensionModel in interface org.mule.runtime.extension.api.loader.ExtensionModelLoaderCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.