public class MuleExtensionUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static ExtensionManager |
createDefaultExtensionManager()
Creates a default
ExtensionManager |
static CoreEvent |
getInitialiserEvent()
Creates an empty event for extension initialization purposes
|
static CoreEvent |
getInitialiserEvent(MuleContext muleContext)
Creates an empty event for extension initialization purposes
|
static org.mule.runtime.api.meta.model.ExtensionModel |
loadExtension(Class<?> clazz)
Loads a extension model
|
static org.mule.runtime.api.meta.model.ExtensionModel |
loadExtension(Class<?> clazz,
Map<String,Object> params)
Loads a extension model
|
public static org.mule.runtime.api.meta.model.ExtensionModel loadExtension(Class<?> clazz)
clazz - fully qualified name of the class to load.ExtensionModel that represents the class being loadedIllegalArgumentException - if there are missing entries in attributes or the type of any of them does not apply
to the expected one.public static org.mule.runtime.api.meta.model.ExtensionModel loadExtension(Class<?> clazz, Map<String,Object> params)
clazz - fully qualified name of the class to load.params - a set of attributes to work with in each concrete implementation of ExtensionModelLoader, which will be
responsible of extracting the mandatory parameters (while casting, if needed).ExtensionModel that represents the class being loadedIllegalArgumentException - if there are missing entries in attributes or the type of any of them does not apply
to the expected one.public static CoreEvent getInitialiserEvent()
CoreEventpublic static CoreEvent getInitialiserEvent(MuleContext muleContext)
muleContext - context on which the event will be associated.CoreEventpublic static ExtensionManager createDefaultExtensionManager()
ExtensionManagerExtensionManagerCopyright © 2003–2019 MuleSoft, Inc.. All rights reserved.