Created
January 26, 2017 22:14
-
-
Save GuiSim/a58f358033268b255a5fd2378e26b990 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
List<Module> modules = ... // Get your Guice modules | |
AutoPropModule autoPropModule = new AutoPropModule("io.pleo", // Package prefix | |
modules, // Modules to scan | |
new ArchaiusPropFactory(), | |
new JacksonParserFactory()); | |
modules.add(autoPropModule); | |
Injector injector = Guice.createInjector(modules); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment