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 TypeMethodDescriptionvoid
destroy()
Destroys adapter loader and adapters loaded.void
init
(PluginLoaderInitContext context) Initializes the adapter loader.void
Called after an runtime instances has fully initialized and is already registered withEPRuntimeProvider
.
-
Method Details
-
init
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 thepostInitialize()
method instead.- Parameters:
context
- the plug in context
-
postInitialize
void postInitialize()Called after an runtime instances has fully initialized and is already registered withEPRuntimeProvider
.- 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.
-