public class MuleExtensionUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static ExtensionManager |
createDefaultExtensionManager()
Creates a default
ExtensionManager |
static CoreEvent |
getInitialiserEvent()
Deprecated.
since 4.3.0. Use
NullEventFactory.getNullEvent() instead |
static CoreEvent |
getInitialiserEvent(MuleContext muleContext)
Deprecated.
since 4.3.0. Use
NullEventFactory.getNullEvent(MuleContext) instead |
static boolean |
isIgnoreDisabled(org.mule.runtime.extension.api.loader.ExtensionLoadingContext loadingContext) |
static boolean |
isPollingSourceLimitEnabled(org.mule.runtime.extension.api.loader.ExtensionLoadingContext loadingContext)
Determines if the
maxItemsPerPoll parameter must be added to polling sources. |
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.@Deprecated public static CoreEvent getInitialiserEvent()
NullEventFactory.getNullEvent() insteadCoreEvent@Deprecated public static CoreEvent getInitialiserEvent(MuleContext muleContext)
NullEventFactory.getNullEvent(MuleContext) insteadmuleContext - context on which the event will be associated.CoreEventpublic static ExtensionManager createDefaultExtensionManager()
ExtensionManagerExtensionManagerpublic static boolean isIgnoreDisabled(org.mule.runtime.extension.api.loader.ExtensionLoadingContext loadingContext)
public static boolean isPollingSourceLimitEnabled(org.mule.runtime.extension.api.loader.ExtensionLoadingContext loadingContext)
maxItemsPerPoll parameter must be added to polling sources.loadingContext - the ExtensionLoadingContextCopyright © 2003–2024 MuleSoft, Inc.. All rights reserved.