Class ExtensionModelFactory
java.lang.Object
org.mule.runtime.extension.internal.loader.ExtensionModelFactory
A factory that can take an
ExtensionDeclarer and transform it into an actual ExtensionModel.
This factory is also responsible for applying the DeclarationEnricher which are default to the runtime plus the ones
specified through ExtensionLoadingContext.addCustomValidators(Collection)
This class is not part of the API and should not be used by anyone (or anything) but the runtime. Backwards compatibility not guaranteed on this class.
- Since:
- 1.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.mule.runtime.api.meta.model.ExtensionModelcreate(ExtensionLoadingContext extensionLoadingContext) Transforms the givenextensionLoadingContextinto a validExtensionModelusing a specifyingdescribingContext
-
Field Details
-
PROBLEMS_HANDLER
- See Also:
-
-
Constructor Details
-
ExtensionModelFactory
public ExtensionModelFactory()
-
-
Method Details
-
create
public org.mule.runtime.api.meta.model.ExtensionModel create(ExtensionLoadingContext extensionLoadingContext) Transforms the givenextensionLoadingContextinto a validExtensionModelusing a specifyingdescribingContext- Parameters:
extensionLoadingContext- aExtensionLoadingContext, useful to specify custom settings- Returns:
- an
ExtensionModel
-