Package ej.kf

## Interface FeatureEntryPoint

-     public interface FeatureEntryPoint

  Each Feature shall define one entry point that implements this interface. Methods are called by the Kernel.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `start()` | This method is called once by the Kernel when a Feature has been newly started.
    `void` | `stop()` | This method is called once by the Kernel when a Feature is going to be unloaded.

- - ### Method Detail

    - #### start

          void start()

      This method is called once by the Kernel when a Feature has been newly started. It is executed in a dedicated thread owned by the Feature, so it may consider it as its "main" thread. This allows a Feature to connect to the application (by adding new Feature points, services, ...)

    - #### stop

          void stop()

      This method is called once by the Kernel when a Feature is going to be unloaded. It is executed in a dedicated thread owned by the Feature. Feature is responsible to do its best effort to properly stop threads and close resources it has created as soon as possible.