Annotation Interface Extension


@MinMuleVersion("4.1") @Target(TYPE) @Retention(RUNTIME) @Documented public @interface Extension
This annotation defines a class that will export its functionality as a Mule module.

There are a few restrictions as to which types as valid for this annotation:

  • It cannot be an interface
  • It must be public
  • It cannot have a typed parameter (no generic)
Since:
1.0
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    A name consistent with the definition on ExtensionModel.getName()
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    org.mule.runtime.api.meta.Category
    Extension's Category
    Name of the extension's vendor
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
    static final String
     
  • Field Details

  • Element Details

    • name

      String name
      A name consistent with the definition on ExtensionModel.getName()
    • vendor

      String vendor
      Name of the extension's vendor
      Default:
      "Mulesoft"
    • category

      org.mule.runtime.api.meta.Category category
      Extension's Category
      Default:
      COMMUNITY