Interface PluginLifeCycleEventListener

  • All Superinterfaces:
    java.util.EventListener

    public interface PluginLifeCycleEventListener
    extends java.util.EventListener
    • Method Detail

      • pluginCreated

        void pluginCreated​(PluginContext context)
        This method is invoked on a parent context, if a child context of that parent is created.
        Parameters:
        context - the new Child context
      • pluginStarted

        void pluginStarted​(PluginContext context)
        This method is invoked on a context, if it is started
        Parameters:
        context - the context
      • pluginSuspended

        void pluginSuspended​(PluginContext context)
        This method is invoked on a context, if it is suspended
        Parameters:
        context - the context
      • pluginResumed

        void pluginResumed​(PluginContext context)
        This method is invoked on a context, if it is resumed
        Parameters:
        context - the context
      • pluginCompleted

        void pluginCompleted​(PluginContext context)
        This method is invoked on a context, if it is completed
        Parameters:
        context - the context
      • pluginCancelled

        void pluginCancelled​(PluginContext context)
        This method is invoked on a context, if it is cancelled
        Parameters:
        context - the context
      • pluginTerminatedWithError

        void pluginTerminatedWithError​(PluginContext context,
                                       java.lang.Throwable t)
        This method is invoked on a context, if it throws an exception
        Parameters:
        context - the context
      • pluginFutureCreated

        void pluginFutureCreated​(PluginContext context)
        This method is invoked on a context, if it's future was set.
        Parameters:
        context - the context
      • pluginDeleted

        void pluginDeleted​(PluginContext context)
        This method is invoked on a context, if it's deleted from its parent
        Parameters:
        context - the context