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 boolean
static final boolean
static 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:
isAutoStartup
in interfaceSmartLifecycle
-
stop
- Specified by:
stop
in interfaceSmartLifecycle
-
stop
default void stop() -
isRunning
default boolean isRunning() -
getPhase
default int getPhase()- Specified by:
getPhase
in interfacePhased
- Specified by:
getPhase
in interfaceSmartLifecycle
-