deephacks/tools4j — Issue #22: Investigate: How to integrate with popular injection frameworks
Author: krisskross
Created: 2012-01-07 17:34:14+00:00
State: open
Labels: config

CDI, Spring, Guice etc are popular injection frameworks that we want to integrate with.

- Singletons can potentially be subject for injection.
- How to inject specific instances that are looked up at runtime, i.e. an authenticated user.
- Should RuntimeContext and AdminContext be injectable into components managed by the particular injection-framework, and if so, should it be possible to use the methods of this particular framework to injected SPI implementations into these (i.e. override the lookup mechanism)?