Annotation Type Stop


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

    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 STOPPING 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 STOPPING state. Defaults to 10.
        Returns:
        execution priority
        Since:
        4.0
        Default:
        10