java.lang.Object
org.mule.runtime.extension.internal.loader.ExtensionModelFactory

public final class ExtensionModelFactory extends Object
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 Details

  • Constructor Details

    • ExtensionModelFactory

      public ExtensionModelFactory()
  • Method Details

    • create

      public org.mule.runtime.api.meta.model.ExtensionModel create(ExtensionLoadingContext extensionLoadingContext)
      Transforms the given extensionLoadingContext into a valid ExtensionModel using a specifying describingContext
      Parameters:
      extensionLoadingContext - a ExtensionLoadingContext, useful to specify custom settings
      Returns:
      an ExtensionModel