Interface SmartLifecycleSupport

All Superinterfaces:
org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle
All Known Implementing Classes:
ClientRegionFactoryBean
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface SmartLifecycleSupport extends org.springframework.context.SmartLifecycle
The SmartLifecycleSupport interface is an extension of Spring's SmartLifecycle interface providing default, convenient behavior for many of the lifecycle methods as well as a serving as a FunctionalInterface.
Since:
1.0.0
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final boolean
     
    static final boolean
     
    static final int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default int
     
    default boolean
     
    default boolean
     
    default void
     
    default void
    stop(Runnable runnable)
     

    Methods inherited from interface org.springframework.context.Lifecycle

    start
  • Field Details

  • Method Details

    • isAutoStartup

      default boolean isAutoStartup()
      Specified by:
      isAutoStartup in interface org.springframework.context.SmartLifecycle
    • stop

      default void stop(Runnable runnable)
      Specified by:
      stop in interface org.springframework.context.SmartLifecycle
    • stop

      default void stop()
      Specified by:
      stop in interface org.springframework.context.Lifecycle
    • isRunning

      default boolean isRunning()
      Specified by:
      isRunning in interface org.springframework.context.Lifecycle
    • getPhase

      default int getPhase()
      Specified by:
      getPhase in interface org.springframework.context.Phased
      Specified by:
      getPhase in interface org.springframework.context.SmartLifecycle