public class ContextManagementServiceImpl extends Object implements ContextManagementService
Constructor and Description |
---|
ContextManagementServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addContextSpec(EPServicesContext servicesContext,
AgentInstanceContext agentInstanceContext,
CreateContextDesc contextDesc,
boolean isRecoveringResilient,
EventType statementResultEventType) |
void |
addStatement(String contextName,
ContextControllerStatementBase statement,
boolean isRecoveringResilient) |
void |
destroyedContext(String contextName) |
void |
destroyedStatement(String contextName,
String statementName,
int statementId) |
int |
getContextCount() |
ContextDescriptor |
getContextDescriptor(String contextName) |
ContextManager |
getContextManager(String contextName) |
Map<String,ContextManagerEntry> |
getContexts() |
void |
stoppedStatement(String contextName,
String statementName,
int statementId,
String epl,
ExceptionHandlingService exceptionHandlingService) |
public void addContextSpec(EPServicesContext servicesContext, AgentInstanceContext agentInstanceContext, CreateContextDesc contextDesc, boolean isRecoveringResilient, EventType statementResultEventType) throws ExprValidationException
addContextSpec
in interface ContextManagementService
ExprValidationException
public int getContextCount()
getContextCount
in interface ContextManagementService
public ContextDescriptor getContextDescriptor(String contextName)
getContextDescriptor
in interface ContextManagementService
public ContextManager getContextManager(String contextName)
getContextManager
in interface ContextManagementService
public void addStatement(String contextName, ContextControllerStatementBase statement, boolean isRecoveringResilient) throws ExprValidationException
addStatement
in interface ContextManagementService
ExprValidationException
public void destroyedStatement(String contextName, String statementName, int statementId)
destroyedStatement
in interface ContextManagementService
public void stoppedStatement(String contextName, String statementName, int statementId, String epl, ExceptionHandlingService exceptionHandlingService)
stoppedStatement
in interface ContextManagementService
public void destroyedContext(String contextName)
destroyedContext
in interface ContextManagementService
public Map<String,ContextManagerEntry> getContexts()
getContexts
in interface ContextManagementService