Class SimpleEventContext

java.lang.Object
dev.getelements.elements.rt.SimpleEventContext
All Implemented Interfaces:
EventContext

public class SimpleEventContext extends Object implements EventContext
  • Constructor Details

    • SimpleEventContext

      public SimpleEventContext()
  • Method Details

    • start

      public void start()
      Description copied from interface: EventContext
      Starts this EventContext.
      Specified by:
      start in interface EventContext
    • stop

      public void stop()
      Description copied from interface: EventContext
      Stops this EventContext.
      Specified by:
      stop in interface EventContext
    • postAsync

      public void postAsync(String eventName, Attributes attributes, Object... args)
      Specified by:
      postAsync in interface EventContext
    • getEventService

      public EventService getEventService()
    • setEventService

      @Inject public void setEventService(EventService eventService)
    • getTimeout

      public long getTimeout()
    • setTimeout

      @Inject public void setTimeout(@Named("dev.getelements.elements.rt.handler.timeout.event") long timeout)