Class PluginLoaderInitContext
java.lang.Object
com.espertech.esper.runtime.client.plugin.PluginLoaderInitContext
Context for plugin initialization.
-
Constructor Summary
ConstructorDescriptionPluginLoaderInitContext
(String name, Properties properties, String configXml, EPRuntime runtime) Initialization context for use with the adapter loader. -
Method Summary
Modifier and TypeMethodDescriptionReturns plugin configuration XML, if any.getName()
Returns plugin name.Returns plugin properties.Returns the runtimeloading the plugin.
-
Constructor Details
-
PluginLoaderInitContext
public PluginLoaderInitContext(String name, Properties properties, String configXml, EPRuntime runtime) Initialization context for use with the adapter loader.- Parameters:
name
- is the loader nameproperties
- is a set of properties from the configurationruntime
- is the SPI of the runtimeitself for sending events toconfigXml
- config xml
-
-
Method Details
-
getName
Returns plugin name.- Returns:
- plugin name
-
getProperties
Returns plugin properties.- Returns:
- plugin properties
-
getConfigXml
Returns plugin configuration XML, if any.- Returns:
- configuration XML
-
getRuntime
Returns the runtimeloading the plugin.- Returns:
- runtime
-