Annotation Interface Import


@MinMuleVersion("4.1") @Target(TYPE) @Retention(RUNTIME) @Documented @Repeatable(ImportedTypes.class) public @interface Import
Annotation to be used on an Extension to declare that a given Class definition has to be imported from another Extension declaration. Usages of such Class will reference its original definition instead of being redefined in the current Extension
Since:
1.0
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details

    • type

      Class<?> type
      Returns:
      the Class which definition will be imported