com.espertech.esper.plugin
Class PluginLoaderInitContext

java.lang.Object
  extended by com.espertech.esper.plugin.PluginLoaderInitContext

public class PluginLoaderInitContext
extends java.lang.Object

Context for plugin initialization.


Constructor Summary
PluginLoaderInitContext(java.lang.String name, java.util.Properties properties, java.lang.String configXml, EPServiceProvider epService)
          Initialization context for use with the adapter loader.
 
Method Summary
 java.lang.String getConfigXml()
          Returns plugin configuration XML, if any.
 EPServiceProvider getEpServiceProvider()
          Returns the engine loading the plugin.
 java.lang.String getName()
          Returns plugin name.
 java.util.Properties getProperties()
          Returns plugin properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginLoaderInitContext

public PluginLoaderInitContext(java.lang.String name,
                               java.util.Properties properties,
                               java.lang.String configXml,
                               EPServiceProvider epService)
Initialization context for use with the adapter loader.

Parameters:
name - is the loader name
properties - is a set of properties from the configuration
epService - is the SPI of the engine itself for sending events to
configXml - config xml
Method Detail

getName

public java.lang.String getName()
Returns plugin name.

Returns:
plugin name

getProperties

public java.util.Properties getProperties()
Returns plugin properties.

Returns:
plugin properties

getConfigXml

public java.lang.String getConfigXml()
Returns plugin configuration XML, if any.

Returns:
configuration XML

getEpServiceProvider

public EPServiceProvider getEpServiceProvider()
Returns the engine loading the plugin.

Returns:
engine

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com