Package org.frankframework.core
Interface ManagableLifecycle
- All Superinterfaces:
ConfigurableLifecycle,IConfigurable,org.springframework.context.Lifecycle,org.springframework.context.Phased,org.springframework.context.SmartLifecycle
Models starting and stopping of objects that support such behaviour.
Inherit's all
SmartLifecycle methods and is IConfigurable.-
Field Summary
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Method Summary
Modifier and TypeMethodDescriptionReturns the RunState of the object.booleanCheck whether this component has successfully been configured.default booleanVerifies if this object needs to be started or stopped.Methods inherited from interface org.frankframework.lifecycle.ConfigurableLifecycle
getPhase, isAutoStartup, startMethods inherited from interface org.frankframework.core.IConfigurable
configureMethods inherited from interface org.springframework.context.Lifecycle
stopMethods inherited from interface org.springframework.context.SmartLifecycle
stop
-
Method Details
-
getRunState
RunState getRunState()Returns the RunState of the object. -
isConfigured
boolean isConfigured()Check whether this component has successfully been configured. Similar toisRunning(), verifies if this object may be started.- Specified by:
isConfiguredin interfaceConfigurableLifecycle- Returns:
- If the return value is
truetheIConfigurable.configure()method won't be executed.
-
isRunning
default boolean isRunning()Verifies if this object needs to be started or stopped.- Specified by:
isRunningin interfaceorg.springframework.context.Lifecycle
-