Interface IBmLifecycleListener


  • @Deprecated
    public interface IBmLifecycleListener
    Deprecated.
    Use DT lifecycle listeners and lifecycle aware services instead.
    Interface for BM life-cycle listeners.
    • Method Detail

      • onAfterStart

        default void onAfterStart​(boolean cleanStart)
        Deprecated.
        Invoked to notify the BM model is started.
        Parameters:
        cleanStart - Clean start of the BM. Listeners should clear their persistent BM-related states prior start.
      • onBeforeClose

        default void onBeforeClose​(boolean delete)
        Deprecated.
        Invoked to notify the BM model is about to close.
        Parameters:
        delete - Flag indicating whether the model is being deleted.