Package org.jclouds.events.config
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.AbstractModuleConfigures theEventBusto be used in the platform.This class will provide an
AsyncEventBusto 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 voidconfigure()Configures theEventBusto be singleton and enables theAsyncBusannotation.-
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
-
-
-
-
Method Detail
-
configure
protected void configure()
Configures theEventBusto be singleton and enables theAsyncBusannotation.- Overrides:
configurein classcom.google.inject.AbstractModule
-
-