Interface SmartLifecycleSupport
- All Superinterfaces:
Lifecycle,Phased,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.
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
- Author:
- John Blum
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final booleanstatic final booleanstatic final int -
Method Summary
-
Field Details
-
DEFAULT_AUTO_STARTUP
static final boolean DEFAULT_AUTO_STARTUP- See Also:
-
DEFAULT_IS_RUNNING
static final boolean DEFAULT_IS_RUNNING- See Also:
-
DEFAULT_PHASE
static final int DEFAULT_PHASE- See Also:
-
-
Method Details
-
isAutoStartup
default boolean isAutoStartup()- Specified by:
isAutoStartupin interfaceSmartLifecycle
-
stop
- Specified by:
stopin interfaceSmartLifecycle
-
stop
default void stop() -
isRunning
default boolean isRunning() -
getPhase
default int getPhase()- Specified by:
getPhasein interfacePhased- Specified by:
getPhasein interfaceSmartLifecycle
-