public Module install(Bundle bundle, String moduleName) throws ClassNotFoundException {
        log.finer("Installing Guice module '" + moduleName + "'.");
        Class<?> namedClass = bundle.loadClass(moduleName);
        Class<Module> moduleClass = ContainerBuilder.safeClassCast(Module.class, namedClass);
        Module module = getInstance(moduleClass);
        install(module);
        return module;
    }
This is a repository of {@link Module}s. An instance of this class is owned by the {@link ContainerBuilder}, and is
used to configure the set of Modules that eventually form the {@link Injector} of the active {@link Container}.

@author Simon Thoresen Hult
jdisc_core/src/main/java/com/yahoo/jdisc/application/GuiceRepository.java