Add the EventBus module when building the injector

This commit is contained in:
Ignasi Barrera 2012-04-12 11:10:40 +02:00
parent 5a3d2a11d6
commit 965a7038df
1 changed files with 1 additions and 0 deletions

View File

@ -298,6 +298,7 @@ public class ContextBuilder<S, A, C extends Closeable, M extends ApiMetadata<S,
addHttpModuleIfNeededAndNotPresent(modules); addHttpModuleIfNeededAndNotPresent(modules);
ifHttpConfigureRestOtherwiseGuiceClientFactory(modules); ifHttpConfigureRestOtherwiseGuiceClientFactory(modules);
addExecutorServiceIfNotPresent(modules); addExecutorServiceIfNotPresent(modules);
addEventBusIfNotPresent(modules);
addCredentialStoreIfNotPresent(modules); addCredentialStoreIfNotPresent(modules);
modules.add(new LifeCycleModule()); modules.add(new LifeCycleModule());
modules.add(new BindPropertiesToAnnotations()); modules.add(new BindPropertiesToAnnotations());