A "proof of concept" dependency-injection library.
The code is terrible, but:
- It works.
- It provides a series of interfaces for dependency-injection functionality, such as finding classes to inject, creating instances of those classes, and injecting them.
- It provides the simplest useful implementation of this functionality supporting the most basic kind of DI, i.e. field injection. (This involves directly setting values on fields, thus bypassing the need for setter methods or constructors.)
- Fields to be injected are identified by the JSR-330 standard @Inject annotation.
- It aims to minimise the complexity of configuration, by avoiding XML files, and instead relying exclusively on simple properties files.
I hope to get a chance to rewrite this library at some point!
Downloads:
0 This Week