net.esper.core
Class EPServicesContext

java.lang.Object
  extended by net.esper.core.EPServicesContext

public final class EPServicesContext
extends java.lang.Object

Convenience class to instantiate implementations for all services.


Constructor Summary
EPServicesContext(EventTypeResolutionService eventTypeResolutionService)
          Constructor - sets up new set of services.
 
Method Summary
 DispatchService getDispatchService()
          Returns dispatch service responsible for dispatching events to listeners.
 EmitService getEmitService()
          Returns service for emitting events.
 EventTypeResolutionService getEventTypeResolutionService()
          Returns event type resolution service.
 FilterService getFilterService()
          Returns filter evaluation service implementation.
 SchedulingService getSchedulingService()
          Returns scheduling service implementation.
 StreamReuseService getStreamService()
          Returns stream service.
 TimerService getTimerService()
          Returns time provider service implementation.
 ViewService getViewService()
          Returns services for view creation, sharing and removal.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EPServicesContext

public EPServicesContext(EventTypeResolutionService eventTypeResolutionService)
Constructor - sets up new set of services.

Parameters:
eventTypeResolutionService - service to resolve event types
Method Detail

getFilterService

public final FilterService getFilterService()
Returns filter evaluation service implementation.

Returns:
filter evaluation service

getTimerService

public final TimerService getTimerService()
Returns time provider service implementation.

Returns:
time provider service

getSchedulingService

public final SchedulingService getSchedulingService()
Returns scheduling service implementation.

Returns:
scheduling service

getEmitService

public final EmitService getEmitService()
Returns service for emitting events.

Returns:
emit event service

getDispatchService

public DispatchService getDispatchService()
Returns dispatch service responsible for dispatching events to listeners.

Returns:
dispatch service.

getViewService

public ViewService getViewService()
Returns services for view creation, sharing and removal.

Returns:
view service

getStreamService

public StreamReuseService getStreamService()
Returns stream service.

Returns:
stream service

getEventTypeResolutionService

public EventTypeResolutionService getEventTypeResolutionService()
Returns event type resolution service.

Returns:
service resolving event type