Class AbstractConfigurableLifecyle

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

public abstract class AbstractConfigurableLifecyle 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

    • AbstractConfigurableLifecyle

      public AbstractConfigurableLifecyle()
  • 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