Bootique lightweight DI implementation.
EXPERIMENTAL...
Bootique DI is a port and enhancement over cayenne-di
. Here are the
main changes compared to the Apache Cayenne version:
- Replaced
Provider
withjavax.inject
implementation. - Replaced
@Inject
withjavax.inject
implementation. - Replace individual constructor param injection with full constructor
injection. Now
@Inject
is placed on the constructor, and@Named
- on individual parameters if needed. - Turned off module auto-loading. This will be area of responsibility for Bootique core.
- Supporting provider methods annotated with
@Provides
.