net.esper.core
Class StatementContextFactoryDefault

java.lang.Object
  extended by net.esper.core.StatementContextFactoryDefault
All Implemented Interfaces:
StatementContextFactory

public class StatementContextFactoryDefault
extends Object
implements StatementContextFactory

Default implementation for making a statement-specific context class.


Constructor Summary
StatementContextFactoryDefault(PluggableObjectCollection viewPlugIns, PluggableObjectCollection plugInPatternObj)
          Ctor.
 
Method Summary
 StatementContext makeContext(String statementId, String statementName, String expression, boolean hasVariables, EPServicesContext engineServices, Map<String,Object> optAdditionalContext, OnTriggerDesc optOnTriggerDesc, CreateWindowDesc optCreateWindowDesc)
          Create a new statement context consisting of statement-level services.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatementContextFactoryDefault

public StatementContextFactoryDefault(PluggableObjectCollection viewPlugIns,
                                      PluggableObjectCollection plugInPatternObj)
Ctor.

Parameters:
viewPlugIns - is the view plug-in object descriptions
plugInPatternObj - is the pattern plug-in object descriptions
Method Detail

makeContext

public StatementContext makeContext(String statementId,
                                    String statementName,
                                    String expression,
                                    boolean hasVariables,
                                    EPServicesContext engineServices,
                                    Map<String,Object> optAdditionalContext,
                                    OnTriggerDesc optOnTriggerDesc,
                                    CreateWindowDesc optCreateWindowDesc)
Description copied from interface: StatementContextFactory
Create a new statement context consisting of statement-level services.

Specified by:
makeContext in interface StatementContextFactory
Parameters:
statementId - is the statement is
statementName - is the statement name
expression - is the statement expression
hasVariables - indicator whether the statement uses variables anywhere in the statement
engineServices - is engine services
optAdditionalContext - addtional context to pass to the statement
optOnTriggerDesc - the on-delete statement descriptor for named window context creation
optCreateWindowDesc - the create-window statement descriptor for named window context creation
Returns:
statement context

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com