perka/flatpack-java — pull request #9 by bobvawter (2012-07-13 00:49:24+00:00)
Title: Guice

This branch switches flatpack-core over to use Guice to get the various elements of the system where they need to be. It has allowed me to clean up a number of APIs by reducing the amount of reference-passing going on. This has also made it much easier to write tests that need access to internals.

The use of explicit binding annotations for configuration properties is more verbose than using a simple `@Name("verbose")` annotation, but I prefer having source elements to hang documentation off of. I'm pretty happy with how the various parameterized `Codex` subtypes can be constructed with automatic `TypeLiteral` injection, as though the language _almost_ supports true generic type reification.

Resolve #7.