Annotation Type Start


  • @Target(METHOD)
    @Retention(RUNTIME)
    public @interface Start
    Method level annotation that indicates a (no-param) method to be called on a component registered in the ComponentRegistry when the cache starts.

    Since:
    4.0
    Author:
    Manik Surtani (manik@jboss.org)
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      int priority
      Optional parameter which defines the order in which this method will be called when the ComponentRegistry moves to the STARTED state.
    • Element Detail

      • priority

        int priority
        Optional parameter which defines the order in which this method will be called when the ComponentRegistry moves to the STARTED state. Defaults to 10.
        Returns:
        execution priority
        Since:
        4.0
        Default:
        10