Interface Lifecycle

All Known Subinterfaces:
Dispatcher, KernelExtension, LocalKernel, PeripheralCommAdapter, PeripheralCommAdapterFactory, PeripheralCommAdapterPanelFactory, PeripheralController, PeripheralJobDispatcher, Router, Scheduler, Scheduler.Module, SimVehicleCommAdapter, VehicleCommAdapter, VehicleCommAdapterFactory, VehicleCommAdapterPanelFactory, VehicleController
All Known Implementing Classes:
BasicPeripheralCommAdapter, BasicVehicleCommAdapter, ControlCenterPanel, PluggablePanel

public interface Lifecycle
Defines methods for controlling a generic component's lifecycle.
  • Method Summary

    Modifier and Type Method Description
    void initialize()
    (Re-)Initializes this component before it is being used.
    boolean isInitialized()
    Checks whether this component is initialized.
    void terminate()
    Terminates the instance and frees resources.
  • Method Details

    • initialize

      void initialize()
      (Re-)Initializes this component before it is being used.
    • isInitialized

      boolean isInitialized()
      Checks whether this component is initialized.
      Returns:
      true if, and only if, this component is initialized.
    • terminate

      void terminate()
      Terminates the instance and frees resources.