Interface SmartLifecycle

    • Field Summary

      Fields 
      Modifier and TypeFieldDescription
      static intDEFAULT_PHASE
      The default phase for SmartLifecycle: Integer.MAX_VALUE.
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and TypeMethodDescription
      default intgetPhase()
      Return the phase that this lifecycle object is supposed to run in.
      default booleanisAutoStartup()
      Returns true if this Lifecycle component should get started automatically by the container at the time that the containing ApplicationContext gets refreshed.
      default voidstop​(Runnable callback)
      Indicates that a Lifecycle component must stop if it is currently running.