net.esper.core
Class EPServicesContext

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

public final class EPServicesContext
extends Object

Convenience class to instantiate implementations for all services.


Constructor Summary
EPServicesContext(EventAdapterService eventAdapterService, AutoImportService autoImportService)
          Constructor - sets up new set of services.
 
Method Summary
 AutoImportService getAutoImportService()
          Returns the import and class name resolution service.
 DispatchService getDispatchService()
          Returns dispatch service responsible for dispatching events to listeners.
 EmitService getEmitService()
          Returns service for emitting events.
 EventAdapterService getEventAdapterService()
          Returns event type resolution service.
 FilterService getFilterService()
          Returns filter evaluation service implementation.
 InternalEventRouter getInternalEventRouter()
          Returns router for internal event processing.
 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.
 void setInternalEventRouter(InternalEventRouter internalEventRouter)
          Set the router for internal event processing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EPServicesContext

public EPServicesContext(EventAdapterService eventAdapterService,
                         AutoImportService autoImportService)
Constructor - sets up new set of services.

Parameters:
eventAdapterService - service to resolve event types
autoImportService - service to resolve partial class names
Method Detail

getInternalEventRouter

public InternalEventRouter getInternalEventRouter()
Returns router for internal event processing.

Returns:
router for internal event processing

setInternalEventRouter

public void setInternalEventRouter(InternalEventRouter internalEventRouter)
Set the router for internal event processing.

Parameters:
internalEventRouter - router to use

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

getEventAdapterService

public EventAdapterService getEventAdapterService()
Returns event type resolution service.

Returns:
service resolving event type

getAutoImportService

public AutoImportService getAutoImportService()
Returns the import and class name resolution service.

Returns:
import service