Annotation Type Order


  • @Target(TYPE)
    @Retention(RUNTIME)
    public @interface Order
    May be applied to extension in order to order extensions.

    NOTE: Extension installer must implement Ordered otherwise annotation will not make any effect.

    Also, may be applied to installer to order installers. Installers ordering may be useful if you have some edge case, which is normally handled by core installer. Without ordering you will have to manually register all installers to place your installer before. With ordered you could simply annotate your installer and it will be executed before default installers. Also, may be used to order your own installers order. Core installers are ordered from 10 to 100 with gap 10 (to simplify injection of custom installers between them).

    Since:
    12.10.2014
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      int value  
    • Element Detail

      • value

        int value
        Returns:
        order