Simple Guice integration for Dropwizard
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore standard eclipse ignores Dec 21, 2012
.travis.yml adding travis conf Oct 23, 2014 Update Oct 23, 2014

Dropwizard-Guice Build Status

This project demonstrates a simple method for integrating Guice with Dropwizard. It uses classpath scanning courtesy of the Reflections project to discover resources to install into the dropwizard environment upon service start.


It's simple to use; simple extend from AutoConfigService<? extends Configuration> rather than Service, and optionally override createInjector to provide modules into the guice injector. Now you'll be able to use javax.inject.Inject annotations throughout your project for dependency injection!

See the test classes located within src/test/java/com/fiestacabin/dropwizard/guice/test for an example.

This library is available on the public maven repository: