/* * ************************************************************************************* * Copyright (C) 2008 EsperTech, Inc. All rights reserved. * * http://esper.codehaus.org * * http://www.espertech.com * * ---------------------------------------------------------------------------------- * * The software in this package is published under the terms of the GPL license * * a copy of which has been included with this distribution in the license.txt file. * * ************************************************************************************* */ package com.espertech.esper.core.context.mgr; import com.espertech.esper.core.context.factory.StatementAgentInstanceFactory; import com.espertech.esper.core.context.factory.StatementAgentInstanceFactory; import com.espertech.esper.core.context.util.ContextMergeView; import com.espertech.esper.core.service.StatementContext; import com.espertech.esper.epl.spec.StatementSpecCompiled; public abstract class ContextControllerStatementBase { private final StatementSpecCompiled statementSpec; private final StatementContext statementContext; private final ContextMergeView mergeView; private final StatementAgentInstanceFactory factory; public ContextControllerStatementBase(StatementSpecCompiled statementSpec, StatementContext statementContext, ContextMergeView mergeView, StatementAgentInstanceFactory factory) { this.statementSpec = statementSpec; this.statementContext = statementContext; this.mergeView = mergeView; this.factory = factory; } public StatementSpecCompiled getStatementSpec() { return statementSpec; } public StatementContext getStatementContext() { return statementContext; } public ContextMergeView getMergeView() { return mergeView; } public StatementAgentInstanceFactory getFactory() { return factory; } }