public class EventBusModule
extends com.google.inject.AbstractModule
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.
ExecutorServiceModule
,
AsyncEventBus
,
EventBus
,
AsyncBus
Constructor and Description |
---|
EventBusModule() |
Modifier and Type | Method and Description |
---|---|
protected void |
configure()
Configures the
EventBus to be singleton and enables the AsyncBus annotation. |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
protected void configure()
EventBus
to be singleton and enables the AsyncBus
annotation.configure
in class com.google.inject.AbstractModule
Copyright © 2009-2013 jclouds. All Rights Reserved.