Class EventBusModule

  • All Implemented Interfaces:
    com.google.inject.Module

    public class EventBusModule
    extends com.google.inject.AbstractModule
    Configures the EventBus to be used in the platform.

    This class will provide an AsyncEventBus to be used to provide a basic pub/sub system for asynchronous operations.

    See Also:
    ExecutorServiceModule, AsyncEventBus, EventBus, AsyncBus
    • Constructor Summary

      Constructors 
      Constructor Description
      EventBusModule()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void configure()
      Configures the EventBus to be singleton and enables the AsyncBus annotation.
      • Methods inherited from class com.google.inject.AbstractModule

        addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
    • Constructor Detail

      • EventBusModule

        public EventBusModule()
    • Method Detail

      • configure

        protected void configure()
        Configures the EventBus to be singleton and enables the AsyncBus annotation.
        Overrides:
        configure in class com.google.inject.AbstractModule