public class MuleExtensionUtils extends Object
| Constructor and Description |
|---|
MuleExtensionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static ExtensionManager |
createDefaultExtensionManager()
Creates a default
ExtensionManager |
static InternalEvent |
getInitialiserEvent()
Creates an empty event for extension initialization purposes
|
static InternalEvent |
getInitialiserEvent(MuleContext muleContext)
Creates an empty event for extension initialization pusposes
|
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 InternalEvent getInitialiserEvent()
InternalEventpublic static InternalEvent getInitialiserEvent(MuleContext muleContext)
muleContext - context on which the event will be associated.InternalEventpublic static ExtensionManager createDefaultExtensionManager()
ExtensionManagerExtensionManagerCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.