Set<Class<? extends Module>> moduleClasses = new HashSet<Class<? extends Module>>();
if (moduleClass != null) {
moduleClasses.add(moduleClass);
}
GuiceInitializer guiceInitializer =
new GuiceInitializer(moduleClasses, providedModules, newAppProperties());
Injector injector = guiceInitializer.initializeInjector();
return injector;
}