PicoContainer is a mature dependency injector framework similar to spring-core or Guice. It presents the advantage to be quite pretty small (~260Ko) and yet very complete.
Two injections methods have been used primarly used.
- Injection by constructor.
- Injection by provider
With pico, you create and manage your own container. Once created, you can
- Add component to the container.
- Get component from the container