net.esper.view
Class ViewServiceContext

java.lang.Object
  extended by net.esper.view.ViewServiceContext

public final class ViewServiceContext
extends Object

Contains handles to the implementation of the the scheduling service for use in view evaluation.


Constructor Summary
ViewServiceContext(SchedulingService schedulingService, ScheduleBucket scheduleBucket, EventAdapterService eventAdapterService)
          Constructor.
 
Method Summary
 EventAdapterService getEventAdapterService()
          Returns service for generating events and handling event types.
 ScheduleBucket getScheduleBucket()
          Returns the schedule bucket for ordering schedule callbacks within this pattern.
 SchedulingService getSchedulingService()
          Returns service to use for schedule evaluation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewServiceContext

public ViewServiceContext(SchedulingService schedulingService,
                          ScheduleBucket scheduleBucket,
                          EventAdapterService eventAdapterService)
Constructor.

Parameters:
schedulingService - implementation for schedule registration
scheduleBucket - is for ordering scheduled callbacks within the view statements
eventAdapterService - service for generating events and handling event types
Method Detail

getSchedulingService

public final SchedulingService getSchedulingService()
Returns service to use for schedule evaluation.

Returns:
schedule evaluation service implemetation

getEventAdapterService

public EventAdapterService getEventAdapterService()
Returns service for generating events and handling event types.

Returns:
event adapter service

getScheduleBucket

public ScheduleBucket getScheduleBucket()
Returns the schedule bucket for ordering schedule callbacks within this pattern.

Returns:
schedule bucket