GuiceServletContextListener should use Stage.PRODUCTION for Guice Injection
---------------------------------------------------------------------------
Key: SHINDIG-570
URL: https://issues.apache.org/jira/browse/SHINDIG-570
Project: Shindig
Issue Type: Improvement
Components: Common Components (Java)
Reporter: Paul Lindner
Priority: Minor
For test cases etal Stage.DEVELOPMENT is fine. For the server however we
should default to Stage.PRODUCTION to flesh out the Guice implementation
classes and catch errors more easily.
- Injector injector = Guice.createInjector(modules);
+ Injector injector = Guice.createInjector(Stage.PRODUCTION, modules);
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.