racc / typesafeconfig-guice

Allows Guice Injection of configuration values from Typesafe Config
Apache License 2.0
72 stars 18 forks source link

IOC - Reflections #9

Closed jacospain closed 6 years ago

jacospain commented 6 years ago

This pull request applies the IOC principle to construction of TypesafeConfigModules.

Yielding control of the Reflections object used by TypesafeConfigModule affords users flexiblity. For example, the flexibility to filter by excluded packages or to include multiple package prefixes, or the flexibility to reuse the Reflections object in a large parameterized integration test suite without rescanning the entire classpath for each test.