Class EventBusModule

java.lang.Object
com.google.inject.AbstractModule
org.jclouds.events.config.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:
  • invalid reference
    ExecutorServiceModule
  • AsyncEventBus
  • EventBus
  • AsyncBus
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    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, requestInjection, requestStaticInjection, requireBinding, requireBinding

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • EventBusModule

      public EventBusModule()
  • Method Details

    • configure

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