Class SimpleEventService

java.lang.Object
dev.getelements.elements.rt.SimpleEventService
All Implemented Interfaces:
EventService

public class SimpleEventService extends Object implements EventService
  • Constructor Details

    • SimpleEventService

      public SimpleEventService()
  • Method Details

    • start

      public void start()
      Description copied from interface: EventService
      Starts the EventService and makes it available to begin accepting tasks.
      Specified by:
      start in interface EventService
    • stop

      public void stop()
      Description copied from interface: EventService
      Stops the EventService and makes it unavailable to accept tasks. Andy pending tasks are completed with an exception and all references cleared.
      Specified by:
      stop in interface EventService
    • postAsync

      public void postAsync(String eventName, Attributes attributes, long timeout, TimeUnit timeoutTimeUnit, Object... args)
      Description copied from interface: EventService
      Registers a new String and set of consumers to handle the results.
      Specified by:
      postAsync in interface EventService
      Parameters:
      eventName - the event name
      attributes - the Attributes.
    • getRetainedHandlerService

      public RetainedHandlerService getRetainedHandlerService()
    • setRetainedHandlerService

      @Inject public void setRetainedHandlerService(RetainedHandlerService retainedHandlerService)
    • getManifestLoader

      public ManifestLoader getManifestLoader()
    • setManifestLoader

      @Inject public void setManifestLoader(ManifestLoader manifestLoader)