Interface PluginLoader


public interface PluginLoader
Interface for loaders of input/output adapters or any other adapter that may participate in a runtime lifecycle.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Destroys adapter loader and adapters loaded.
    void
    Initializes the adapter loader.
    void
    Called after an runtime instances has fully initialized and is already registered with EPRuntimeProvider.
  • Method Details

    • init

      void init(PluginLoaderInitContext context)
      Initializes the adapter loader.

      Invoked before the runtime instance is fully initialized. Thereby this is not the place to look up an runtime instance from EPRuntimeProvider and use it. Use the postInitialize() method instead.

      Parameters:
      context - the plug in context
    • postInitialize

      void postInitialize()
      Called after an runtime instances has fully initialized and is already registered with EPRuntimeProvider.
      Since:
      3.3.0
    • destroy

      void destroy()
      Destroys adapter loader and adapters loaded.

      Invoked upon EPRuntime.destroy() before the runtime instance is actually destroyed.

      Implementations may block to ensure dependent threads are stopped or other resources released.