|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.core.service.EPServicesContext
public final class EPServicesContext
Convenience class to hold implementations for all services.
Constructor Summary | |
---|---|
EPServicesContext(java.lang.String engineURI,
SchedulingServiceSPI schedulingService,
EventAdapterService eventAdapterService,
EngineImportService engineImportService,
EngineSettingsService engineSettingsService,
DatabaseConfigService databaseConfigService,
PluggableObjectCollection plugInViews,
StatementLockFactory statementLockFactory,
ManagedReadWriteLock eventProcessingRWLock,
ExtensionServicesContext extensionServicesContext,
EngineEnvContext engineEnvContext,
StatementContextFactory statementContextFactory,
PluggableObjectCollection plugInPatternObjects,
TimerService timerService,
FilterServiceSPI filterService,
StreamFactoryService streamFactoryService,
NamedWindowService namedWindowService,
VariableService variableService,
TableService tableService,
TimeSourceService timeSourceService,
ValueAddEventService valueAddEventService,
MetricReportingServiceSPI metricsReportingService,
StatementEventTypeRef statementEventTypeRef,
StatementVariableRef statementVariableRef,
ConfigurationInformation configSnapshot,
ThreadingService threadingServiceImpl,
InternalEventRouterImpl internalEventRouter,
StatementIsolationService statementIsolationService,
SchedulingMgmtService schedulingMgmtService,
DeploymentStateService deploymentStateService,
ExceptionHandlingService exceptionHandlingService,
PatternNodeFactory patternNodeFactory,
EventTypeIdGenerator eventTypeIdGenerator,
StatementMetadataFactory statementMetadataFactory,
ContextManagementService contextManagementService,
SchedulableAgentInstanceDirectory schedulableAgentInstanceDirectory,
PatternSubexpressionPoolEngineSvc patternSubexpressionPoolSvc,
DataFlowService dataFlowService,
ExprDeclaredService exprDeclaredService)
Constructor - sets up new set of services. |
Method Summary | |
---|---|
void |
destroy()
Destroy services. |
ConfigurationInformation |
getConfigSnapshot()
Returns the configuration. |
ContextManagementService |
getContextManagementService()
|
DatabaseConfigService |
getDatabaseRefService()
Returns the database settings service. |
DataFlowService |
getDataFlowService()
|
DeploymentStateService |
getDeploymentStateService()
|
DispatchService |
getDispatchService()
Returns dispatch service responsible for dispatching events to listeners. |
EngineEnvContext |
getEngineEnvContext()
Returns the engine environment context for getting access to engine-external resources, such as adapters |
EngineImportService |
getEngineImportService()
Returns the import and class name resolution service. |
EngineSettingsService |
getEngineSettingsService()
Returns engine settings. |
java.lang.String |
getEngineURI()
Returns the engine URI. |
EventAdapterService |
getEventAdapterService()
Returns event type resolution service. |
ManagedReadWriteLock |
getEventProcessingRWLock()
Returns the event processing lock for coordinating statement administration with event processing. |
EventTypeIdGenerator |
getEventTypeIdGenerator()
|
ExceptionHandlingService |
getExceptionHandlingService()
|
ExprDeclaredService |
getExprDeclaredService()
|
ExpressionResultCacheService |
getExpressionResultCacheSharable()
|
ExtensionServicesContext |
getExtensionServicesContext()
Returns extension service for adding custom the services. |
FilterServiceSPI |
getFilterService()
Returns filter evaluation service implementation. |
InternalEventRouteDest |
getInternalEventEngineRouteDest()
Returns the event routing destination. |
InternalEventRouterImpl |
getInternalEventRouter()
Returns router for internal event processing. |
MetricReportingServiceSPI |
getMetricsReportingService()
Returns metrics reporting. |
NamedWindowService |
getNamedWindowService()
Returns the named window management service. |
PatternNodeFactory |
getPatternNodeFactory()
|
PatternSubexpressionPoolEngineSvc |
getPatternSubexpressionPoolSvc()
|
PluggableObjectCollection |
getPlugInPatternObjects()
Information to resolve plug-in pattern object namespace and name. |
PluggableObjectCollection |
getPlugInViews()
Information to resolve plug-in view namespace and name. |
SchedulableAgentInstanceDirectory |
getSchedulableAgentInstanceDirectory()
|
SchedulingMgmtService |
getSchedulingMgmtService()
Returns the schedule management service. |
SchedulingServiceSPI |
getSchedulingService()
Returns scheduling service implementation. |
StatementContextFactory |
getStatementContextFactory()
} public ExpressionResultCacheService getExpressionResultCacheSharable() { return expressionResultCacheSharable; Returns the factory to use for creating a statement context. |
StatementEventTypeRef |
getStatementEventTypeRefService()
Returns service for statement to event type mapping. |
StatementIsolationService |
getStatementIsolationService()
Returns the service for maintaining statement isolation information. |
StatementLifecycleSvc |
getStatementLifecycleSvc()
Returns statement lifecycle svc |
StatementLockFactory |
getStatementLockFactory()
Factory for statement-level locks. |
StatementMetadataFactory |
getStatementMetadataFactory()
|
StatementVariableRef |
getStatementVariableRefService()
Service for keeping track of variable-statement use. |
StreamFactoryService |
getStreamService()
Returns stream service. |
TableService |
getTableService()
|
ThreadingService |
getThreadingService()
Returns engine-level threading settings. |
TimerService |
getTimerService()
Returns time provider service implementation. |
TimeSourceService |
getTimeSource()
Returns the time source provider class. |
ValueAddEventService |
getValueAddEventService()
Returns the service for handling updates to events. |
VariableService |
getVariableService()
Returns the variable service. |
ViewService |
getViewService()
Returns services for view creation, sharing and removal. |
void |
initialize()
Destroy services. |
void |
setInternalEventEngineRouteDest(InternalEventRouteDest internalEventEngineRouteDest)
Sets the event routing destination. |
void |
setStatementIsolationService(StatementIsolationService statementIsolationService)
Sets the service for maintaining statement isolation information. |
void |
setStatementLifecycleSvc(StatementLifecycleSvc statementLifecycleSvc)
Sets the service dealing with starting and stopping statements. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EPServicesContext(java.lang.String engineURI, SchedulingServiceSPI schedulingService, EventAdapterService eventAdapterService, EngineImportService engineImportService, EngineSettingsService engineSettingsService, DatabaseConfigService databaseConfigService, PluggableObjectCollection plugInViews, StatementLockFactory statementLockFactory, ManagedReadWriteLock eventProcessingRWLock, ExtensionServicesContext extensionServicesContext, EngineEnvContext engineEnvContext, StatementContextFactory statementContextFactory, PluggableObjectCollection plugInPatternObjects, TimerService timerService, FilterServiceSPI filterService, StreamFactoryService streamFactoryService, NamedWindowService namedWindowService, VariableService variableService, TableService tableService, TimeSourceService timeSourceService, ValueAddEventService valueAddEventService, MetricReportingServiceSPI metricsReportingService, StatementEventTypeRef statementEventTypeRef, StatementVariableRef statementVariableRef, ConfigurationInformation configSnapshot, ThreadingService threadingServiceImpl, InternalEventRouterImpl internalEventRouter, StatementIsolationService statementIsolationService, SchedulingMgmtService schedulingMgmtService, DeploymentStateService deploymentStateService, ExceptionHandlingService exceptionHandlingService, PatternNodeFactory patternNodeFactory, EventTypeIdGenerator eventTypeIdGenerator, StatementMetadataFactory statementMetadataFactory, ContextManagementService contextManagementService, SchedulableAgentInstanceDirectory schedulableAgentInstanceDirectory, PatternSubexpressionPoolEngineSvc patternSubexpressionPoolSvc, DataFlowService dataFlowService, ExprDeclaredService exprDeclaredService)
engineURI
- is the engine URIschedulingService
- service to get time and schedule callbackseventAdapterService
- service to resolve event typesdatabaseConfigService
- service to resolve a database name to database connection factory and configsplugInViews
- resolves view namespace and name to view factory classstatementLockFactory
- creates statement-level lockseventProcessingRWLock
- is the engine lock for statement managementextensionServicesContext
- marker interface allows adding additional servicesengineImportService
- is engine imported static func packages and aggregation functionsengineSettingsService
- provides engine settingsstatementContextFactory
- is the factory to use to create statement context objectsengineEnvContext
- is engine environment/directory information for use with adapters and external envplugInPatternObjects
- resolves plug-in pattern objectstimerService
- is the timer servicefilterService
- the filter servicestreamFactoryService
- is hooking up filters to streamsnamedWindowService
- is holding information about the named windows active in the systemvariableService
- provides access to variable valuesvalueAddEventService
- handles update eventstimeSourceService
- time source provider classmetricsReportingService
- - for metric reportingstatementEventTypeRef
- - statement to event type reference holdingstatementVariableRef
- - statement to variabke reference holdingconfigSnapshot
- configuration snapshotthreadingServiceImpl
- - engine-level threading servicesinternalEventRouter
- - routing of eventsstatementIsolationService
- - maintains isolation information per statementschedulingMgmtService
- - schedule management for statementsMethod Detail |
---|
public PatternNodeFactory getPatternNodeFactory()
public void setStatementLifecycleSvc(StatementLifecycleSvc statementLifecycleSvc)
statementLifecycleSvc
- statement lifycycle svcpublic InternalEventRouteDest getInternalEventEngineRouteDest()
public void setInternalEventEngineRouteDest(InternalEventRouteDest internalEventEngineRouteDest)
internalEventEngineRouteDest
- event routing destinationpublic InternalEventRouterImpl getInternalEventRouter()
public final FilterServiceSPI getFilterService()
public final TimerService getTimerService()
public final SchedulingServiceSPI getSchedulingService()
public DispatchService getDispatchService()
public ViewService getViewService()
public StreamFactoryService getStreamService()
public EventAdapterService getEventAdapterService()
public EngineImportService getEngineImportService()
public DatabaseConfigService getDatabaseRefService()
public PluggableObjectCollection getPlugInViews()
public PluggableObjectCollection getPlugInPatternObjects()
public StatementLockFactory getStatementLockFactory()
public ManagedReadWriteLock getEventProcessingRWLock()
public StatementLifecycleSvc getStatementLifecycleSvc()
public ExtensionServicesContext getExtensionServicesContext()
public EngineEnvContext getEngineEnvContext()
public ThreadingService getThreadingService()
public void destroy()
public void initialize()
public StatementContextFactory getStatementContextFactory()
public java.lang.String getEngineURI()
public EngineSettingsService getEngineSettingsService()
public NamedWindowService getNamedWindowService()
public VariableService getVariableService()
public TimeSourceService getTimeSource()
public ValueAddEventService getValueAddEventService()
public MetricReportingServiceSPI getMetricsReportingService()
public StatementEventTypeRef getStatementEventTypeRefService()
public ConfigurationInformation getConfigSnapshot()
public StatementVariableRef getStatementVariableRefService()
public SchedulingMgmtService getSchedulingMgmtService()
public StatementIsolationService getStatementIsolationService()
public void setStatementIsolationService(StatementIsolationService statementIsolationService)
statementIsolationService
- isolation servicepublic DeploymentStateService getDeploymentStateService()
public ExceptionHandlingService getExceptionHandlingService()
public EventTypeIdGenerator getEventTypeIdGenerator()
public StatementMetadataFactory getStatementMetadataFactory()
public ContextManagementService getContextManagementService()
public SchedulableAgentInstanceDirectory getSchedulableAgentInstanceDirectory()
public PatternSubexpressionPoolEngineSvc getPatternSubexpressionPoolSvc()
public DataFlowService getDataFlowService()
public ExprDeclaredService getExprDeclaredService()
public ExpressionResultCacheService getExpressionResultCacheSharable()
public TableService getTableService()
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |