Interface ManagableLifecycle

All Superinterfaces:
ConfigurableLifecycle, IConfigurable, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle
All Known Implementing Classes:
Adapter, Receiver

public interface ManagableLifecycle extends ConfigurableLifecycle
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 Type
    Method
    Description
    Returns the RunState of the object.
    boolean
    Check whether this component has successfully been configured.
    default boolean
    Verifies if this object needs to be started or stopped.

    Methods inherited from interface org.frankframework.lifecycle.ConfigurableLifecycle

    getPhase, isAutoStartup, start

    Methods inherited from interface org.frankframework.core.IConfigurable

    configure

    Methods inherited from interface org.springframework.context.Lifecycle

    stop

    Methods 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 to isRunning(), verifies if this object may be started.
      Specified by:
      isConfigured in interface ConfigurableLifecycle
      Returns:
      If the return value is true the IConfigurable.configure() method won't be executed.
    • isRunning

      default boolean isRunning()
      Verifies if this object needs to be started or stopped.
      Specified by:
      isRunning in interface org.springframework.context.Lifecycle