-
Notifications
You must be signed in to change notification settings - Fork 79
Custom guice module
Ilia Naryzhny edited this page Oct 3, 2015
·
1 revision
It can be done according the following approach: http://blog.mathieu.carbou.me/post/60455011429/automatically-discover-guice-modules-and-override
- Implement your own Guice Module
- If it should override some existomg configuration mark it by annotation @OverrideModule
- Add record for your class to META-INF/services/com.google.inject.Module
Wanna check it out? Use demo server! (Usernames/passwords: admin/admin, writer/writer, reader/reader)