public interface PluginLoader
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroys adapter loader and adapters loaded.
|
void |
init(PluginLoaderInitContext context)
Initializes the adapter loader.
|
void |
postInitialize()
Called after an engine instances has fully initialized and is already
registered with
EPServiceProviderManager . |
void init(PluginLoaderInitContext context)
Invoked before the engine instance is fully initialized. Thereby this is not the place to
look up an engine instance from EPServiceProviderManager
and use it. Use the postInitialize()
method instead.
context
- the plug in contextvoid postInitialize()
EPServiceProviderManager
.void destroy()
Invoked upon EPServiceProvider.destroy()
before the engine instance is actually destroyed.
Implementations may block to ensure dependent threads are stopped or other resources released.