Class ConfigurableLifecyleBase

java.lang.Object
org.frankframework.lifecycle.ConfigurableLifecyleBase
All Implemented Interfaces:
ConfigurableLifecycle, org.springframework.context.Lifecycle
Direct Known Subclasses:
AdapterManager, MonitorManager, ScheduleManager

public abstract class ConfigurableLifecyleBase extends Object implements ConfigurableLifecycle
Base class which looks at the RunState of the component before changing it's Lifecycle state.
Calling configure() should set the state to STARTING. Calling start() should set the state to STARTED.
  • Field Details

    • log

      protected final org.apache.logging.log4j.Logger log
  • Constructor Details

    • ConfigurableLifecyleBase

      public ConfigurableLifecyleBase()
  • Method Details

    • getState

      public RunState getState()
    • updateState

      protected void updateState(RunState state)
    • inState

      public boolean inState(RunState state)
    • isRunning

      public boolean isRunning()
      Specified by:
      isRunning in interface org.springframework.context.Lifecycle