You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 10, 2019. It is now read-only.
Matthew Mason edited this page Aug 31, 2017
·
1 revision
Overview
Configuration of the system is handled by Guice. This framework is useful for injecting a class' dependencies via annotation.
Implementation
All of the project's configurations are contained in one file, com.atypon.wayf.guice.WayfGuiceModule. Here the locations of property files are defined, implementations of interfaces are bound, and dependencies are configured.
Future Considerations
Having all of the Guice configurations in one module/file is not ideal. It does not allow for each system layer to be configured independently of another. This file should be split either across business concerns or application layers and organized into a hierarchy of pluggable modules.