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.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:
-
Constructor Summary
Constructors -
Method Summary
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
-
Constructor Details
-
EventBusModule
public EventBusModule()
-
-
Method Details
-
configure
protected void configure()Configures theEventBus
to be singleton and enables theAsyncBus
annotation.- Overrides:
configure
in classcom.google.inject.AbstractModule
-