codahale/dropwizard — pull request #227 by eliast (2012-11-30 01:57:07+00:00)
Title: Adding a sub-module to support Guice

You simply need to add a bundle during the initialize phase and you are ready to go.

bootstrap.addBundle(new GuiceBundle() {
@Override
protected Collection configureModules(
HelloWorldConfiguration configuration) {
return Lists.newArrayList(new HelloWorldModule(configuration));
}
});