public class ConfigurationRuntime extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
epServicesContextFactoryClassName
Optional classname to use for constructing services context.
|
protected List<ConfigurationRuntimePluginLoader> |
pluginLoaders
List of adapter loaders.
|
Constructor and Description |
---|
ConfigurationRuntime()
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
addPluginLoader(String loaderName,
String className)
Add a plugin loader (f.e.
|
void |
addPluginLoader(String loaderName,
String className,
Properties configuration)
Add a plugin loader (f.e.
|
void |
addPluginLoader(String loaderName,
String className,
Properties configuration,
String configurationXML)
Add a plugin loader (f.e.
|
ConfigurationRuntimeConditionHandling |
getConditionHandling()
Returns the condition handling configuration.
|
String |
getEPServicesContextFactoryClassName()
Returns the class name of the services context factory class to use.
|
ConfigurationRuntimeExceptionHandling |
getExceptionHandling()
Returns the exception handling configuration.
|
ConfigurationRuntimeExecution |
getExecution()
Returns statement execution-related settings, settings that
influence event/schedule to statement processing.
|
ConfigurationRuntimeExpression |
getExpression()
Returns the expression-related settings for common.
|
ConfigurationRuntimeLogging |
getLogging()
Returns logging settings applicable to runtime.
|
ConfigurationRuntimeMatchRecognize |
getMatchRecognize()
Return match-recognize settings.
|
ConfigurationRuntimeMetricsReporting |
getMetricsReporting()
Returns the metrics reporting configuration.
|
ConfigurationRuntimePatterns |
getPatterns()
Return pattern settings.
|
List<ConfigurationRuntimePluginLoader> |
getPluginLoaders()
Returns the plug-in loaders.
|
ConfigurationRuntimeThreading |
getThreading()
Returns threading settings.
|
ConfigurationRuntimeTimeSource |
getTimeSource()
Returns the time source configuration.
|
ConfigurationRuntimeVariables |
getVariables()
Returns defaults applicable to variables.
|
protected void |
reset()
Reset to an empty configuration.
|
void |
setConditionHandling(ConfigurationRuntimeConditionHandling conditionHandling)
Sets the condition handling configuration.
|
void |
setEpServicesContextFactoryClassName(String epServicesContextFactoryClassName)
Sets the class name of the services context factory class to use.
|
void |
setExceptionHandling(ConfigurationRuntimeExceptionHandling exceptionHandling)
Sets the exception handling configuration.
|
void |
setMatchRecognize(ConfigurationRuntimeMatchRecognize matchRecognize)
Sets match-recognize settings.
|
void |
setMetricsReporting(ConfigurationRuntimeMetricsReporting metricsReporting)
Sets the metrics reporting settings
|
void |
setPatterns(ConfigurationRuntimePatterns patterns)
Sets pattern settings.
|
void |
setPluginLoaders(List<ConfigurationRuntimePluginLoader> pluginLoaders)
Sets the list of plug-in loaders
|
void |
setThreading(ConfigurationRuntimeThreading threading)
Sets the threading settings
|
protected String epServicesContextFactoryClassName
protected List<ConfigurationRuntimePluginLoader> pluginLoaders
public void setEpServicesContextFactoryClassName(String epServicesContextFactoryClassName)
epServicesContextFactoryClassName
- service context factory class namepublic String getEPServicesContextFactoryClassName()
public List<ConfigurationRuntimePluginLoader> getPluginLoaders()
public void addPluginLoader(String loaderName, String className, Properties configuration)
The class is expected to implement the PluginLoader interface.
.loaderName
- is the name of the loaderclassName
- is the fully-qualified classname of the loader classconfiguration
- is loader cofiguration entriespublic void addPluginLoader(String loaderName, String className)
The class is expected to implement the PluginLoader interface.
.loaderName
- is the name of the loaderclassName
- is the fully-qualified classname of the loader classpublic void addPluginLoader(String loaderName, String className, Properties configuration, String configurationXML)
The class is expected to implement the PluginLoader interface.
.loaderName
- is the name of the loaderclassName
- is the fully-qualified classname of the loader classconfiguration
- is loader cofiguration entriesconfigurationXML
- config xml if anypublic ConfigurationRuntimeMetricsReporting getMetricsReporting()
public void setPluginLoaders(List<ConfigurationRuntimePluginLoader> pluginLoaders)
pluginLoaders
- list of loaderspublic void setMetricsReporting(ConfigurationRuntimeMetricsReporting metricsReporting)
metricsReporting
- metrics reporting settingspublic ConfigurationRuntimeExceptionHandling getExceptionHandling()
public void setExceptionHandling(ConfigurationRuntimeExceptionHandling exceptionHandling)
exceptionHandling
- exception handling configurationpublic ConfigurationRuntimeConditionHandling getConditionHandling()
public void setConditionHandling(ConfigurationRuntimeConditionHandling conditionHandling)
conditionHandling
- exception handling configurationpublic ConfigurationRuntimeThreading getThreading()
public void setThreading(ConfigurationRuntimeThreading threading)
threading
- settingspublic ConfigurationRuntimeMatchRecognize getMatchRecognize()
public void setMatchRecognize(ConfigurationRuntimeMatchRecognize matchRecognize)
matchRecognize
- settings to setpublic ConfigurationRuntimePatterns getPatterns()
public void setPatterns(ConfigurationRuntimePatterns patterns)
patterns
- settings to setpublic ConfigurationRuntimeVariables getVariables()
public ConfigurationRuntimeLogging getLogging()
public ConfigurationRuntimeTimeSource getTimeSource()
public ConfigurationRuntimeExpression getExpression()
public ConfigurationRuntimeExecution getExecution()
protected void reset()
Copyright © 2005–2018. All rights reserved.