Package org.frankframework.lifecycle
Interface ConfigurableLifecycle
- All Superinterfaces:
IConfigurable
,org.springframework.context.Lifecycle
,org.springframework.context.Phased
,org.springframework.context.SmartLifecycle
- All Known Subinterfaces:
CanUseSharedResource<T>
,ManagableLifecycle
,SharedResource<T>
- All Known Implementing Classes:
AbstractConfigurableLifecyle
,AbstractDatabaseMigrator
,AbstractHttpSender
,AbstractHttpSession
,Adapter
,Configuration
,ConfiguringLifecycleProcessor
,HttpSender
,HttpSession
,LiquibaseMigrator
,MonitorManager
,Receiver
,ScheduleManager
,SpringContextFlowDiagramProvider
,WebServiceSender
public interface ConfigurableLifecycle
extends org.springframework.context.SmartLifecycle, IConfigurable
Interface for Spring beans that require their
Lifecycle
to be managed by Spring.
See ConfiguringLifecycleProcessor
.- Author:
- Niels
-
Field Summary
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
getPhase()
default boolean
By default these beans are not started.Methods inherited from interface org.frankframework.core.IConfigurable
configure
Methods inherited from interface org.springframework.context.Lifecycle
isRunning, start, stop
Methods inherited from interface org.springframework.context.SmartLifecycle
stop
-
Method Details
-
getPhase
default int getPhase()- Specified by:
getPhase
in interfaceorg.springframework.context.Phased
- Specified by:
getPhase
in interfaceorg.springframework.context.SmartLifecycle
-
isAutoStartup
default boolean isAutoStartup()By default these beans are not started. TheConfiguration
may do so in theConfiguration.configure()
method.- Specified by:
isAutoStartup
in interfaceorg.springframework.context.SmartLifecycle
-