public class MuleSdkExtensionLoadingUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static org.mule.runtime.ast.internal.model.ExtensionModelHelper |
createExtensionModelHelper(org.mule.runtime.extension.api.loader.ExtensionLoadingContext context) |
static org.mule.metadata.api.TypeLoader |
createTypeLoader(org.mule.runtime.extension.api.loader.ExtensionLoadingContext context) |
static <T> T |
getRequiredLoadingParameter(org.mule.runtime.extension.api.loader.ExtensionLoadingContext context,
String parameterName)
Gets a parameter from the given
ExtensionLoadingContext assuming it needs to be present. |
public static <T> T getRequiredLoadingParameter(org.mule.runtime.extension.api.loader.ExtensionLoadingContext context,
String parameterName)
ExtensionLoadingContext assuming it needs to be present.T - The expected type of the parameter.context - The ExtensionLoadingContext.parameterName - The parameter name, typically a constant from ExtensionConstants.public static org.mule.metadata.api.TypeLoader createTypeLoader(org.mule.runtime.extension.api.loader.ExtensionLoadingContext context)
context - The ExtensionLoadingContextTypeLoader suitable for loading types in the context of the extension being modeled in the current context.public static org.mule.runtime.ast.internal.model.ExtensionModelHelper createExtensionModelHelper(org.mule.runtime.extension.api.loader.ExtensionLoadingContext context)
context - The ExtensionLoadingContext.ExtensionModelHelper to aid with the lookup of component models by identifier among the extensions in the
context.Copyright © 2003–2023 MuleSoft, Inc.. All rights reserved.