Annotation Interface OnReload


@Target(METHOD) @Retention(RUNTIME) public @interface OnReload
Marks a method to be executed when the service is reloaded.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Class<?>[]
    The priority of this method.
    Class<?>[]
    The priority of this method.
  • Element Details

    • after

      Class<?>[] after
      The priority of this method. The higher the priority, the earlier it will be executed
      Returns:
      The priority of this method
      Default:
      {}
    • before

      Class<?>[] before
      The priority of this method. The higher the priority, the earlier it will be executed
      Returns:
      The priority of this method
      Default:
      {}