|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.core.EPServicesContext
public final class EPServicesContext
Convenience class to instantiate implementations for all services.
Constructor Summary | |
---|---|
EPServicesContext(SchedulingService schedulingService,
EventAdapterService eventAdapterService,
AutoImportService autoImportService,
DatabaseConfigService databaseConfigService,
ViewResolutionService viewResolutionService,
StatementLockFactory statementLockFactory,
ManagedReadWriteLock eventProcessingRWLock,
ExtensionServicesContext extensionServicesContext,
EngineEnvContext engineEnvContext)
Constructor - sets up new set of services. |
Method Summary | |
---|---|
void |
destroy()
Destroy services. |
AutoImportService |
getAutoImportService()
Returns the import and class name resolution service. |
DatabaseConfigService |
getDatabaseRefService()
Returns the database settings service. |
DispatchService |
getDispatchService()
Returns dispatch service responsible for dispatching events to listeners. |
EmitService |
getEmitService()
Returns service for emitting events. |
EngineEnvContext |
getEngineEnvContext()
|
EventAdapterService |
getEventAdapterService()
Returns event type resolution service. |
ManagedReadWriteLock |
getEventProcessingRWLock()
Returns the event processing lock for coordinating statement administration with event processing. |
ExtensionServicesContext |
getExtensionServicesContext()
Returns extension service for adding custom the services. |
FilterService |
getFilterService()
Returns filter evaluation service implementation. |
InternalEventRouter |
getInternalEventRouter()
Returns router for internal event processing. |
SchedulingService |
getSchedulingService()
Returns scheduling service implementation. |
StatementLifecycleSvc |
getStatementLifecycleSvc()
Returns statement lifecycle svc |
StatementLockFactory |
getStatementLockFactory()
Factory for statement-level locks. |
StreamFactoryService |
getStreamService()
Returns stream service. |
TimerService |
getTimerService()
Returns time provider service implementation. |
ViewResolutionService |
getViewResolutionService()
Service for resolving view namespace and name. |
ViewService |
getViewService()
Returns services for view creation, sharing and removal. |
void |
setInternalEventRouter(InternalEventRouter internalEventRouter)
Set the router for internal event processing. |
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(SchedulingService schedulingService, EventAdapterService eventAdapterService, AutoImportService autoImportService, DatabaseConfigService databaseConfigService, ViewResolutionService viewResolutionService, StatementLockFactory statementLockFactory, ManagedReadWriteLock eventProcessingRWLock, ExtensionServicesContext extensionServicesContext, EngineEnvContext engineEnvContext)
schedulingService
- service to get time and schedule callbackseventAdapterService
- service to resolve event typesautoImportService
- service to resolve partial class namesdatabaseConfigService
- service to resolve a database name to database connection factory and configsviewResolutionService
- 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 servicesMethod Detail |
---|
public void setStatementLifecycleSvc(StatementLifecycleSvc statementLifecycleSvc)
statementLifecycleSvc
- statement lifycycle svcpublic InternalEventRouter getInternalEventRouter()
public void setInternalEventRouter(InternalEventRouter internalEventRouter)
internalEventRouter
- router to usepublic final FilterService getFilterService()
public final TimerService getTimerService()
public final SchedulingService getSchedulingService()
public final EmitService getEmitService()
public DispatchService getDispatchService()
public ViewService getViewService()
public StreamFactoryService getStreamService()
public EventAdapterService getEventAdapterService()
public AutoImportService getAutoImportService()
public DatabaseConfigService getDatabaseRefService()
public ViewResolutionService getViewResolutionService()
public StatementLockFactory getStatementLockFactory()
public ManagedReadWriteLock getEventProcessingRWLock()
public StatementLifecycleSvc getStatementLifecycleSvc()
public ExtensionServicesContext getExtensionServicesContext()
public EngineEnvContext getEngineEnvContext()
public void destroy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |