Annotation Interface Load


@Retention(RUNTIME) @Target(TYPE) public @interface Load
Declares the startup phase at which a ServiceContainer should be loaded.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
    The startup phases a service can be loaded at.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The startup phase this service loads at.
  • Element Details

    • value

      Load.State value
      The startup phase this service loads at.
      Returns:
      the state where the service is loaded
      Default:
      OnEnable