public interface ConfigurableLifecycle
extends org.springframework.context.Lifecycle
ConfiguringLifecycleProcessor
Modifier and Type | Interface and Description |
---|---|
static class |
ConfigurableLifecycle.BootState
Calling configure() should set the state to STARTING,
calling start() should set the state to STARTED
|
Modifier and Type | Method and Description |
---|---|
void |
configure() |
ConfigurableLifecycle.BootState |
getState() |
default boolean |
inState(ConfigurableLifecycle.BootState state) |
default boolean |
isRunning() |
ConfigurableLifecycle.BootState getState()
default boolean inState(ConfigurableLifecycle.BootState state)
default boolean isRunning()
isRunning
in interface org.springframework.context.Lifecycle
void configure() throws ConfigurationException
ConfigurationException
Copyright © 2023 Frank!Framework. All rights reserved.