org.jclouds.events.config
Class EventBusModule

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by 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.

Author:
Ignasi Barrera
See Also:
ExecutorServiceModule, AsyncEventBus, EventBus, AsyncBus

Constructor Summary
EventBusModule()
           
 
Method Summary
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, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventBusModule

public EventBusModule()
Method Detail

configure

protected void configure()
Configures the EventBus to be singleton and enables the AsyncBus annotation.

Specified by:
configure in class com.google.inject.AbstractModule


Copyright © 2009-2013 jclouds. All Rights Reserved.