Interface ComponentStateListener


public interface ComponentStateListener
This interface can be used to register a component state listener. Component state listeners are called whenever a component state changes. You get notified when the internal component state is changed, when the component is starting, started, stopping and stopped. Each callback includes a reference to the component in question.
Author:
Felix Project Team
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called on each component state change.
  • Method Details

    • changed

      void changed(Component c, ComponentState state)
      Called on each component state change.
      Parameters:
      c - the component
      state - the new component state