We need you!

Icon

The IzPack documentation needs work, and you are invited to edit it!

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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.

  1. Injection by constructor.
  2. Injection by provider
Dependencies definitions

With pico, you create and manage your own container. Once created, you can

  • Add component to the container.
  • Get component from the container
CompilerContainer.java
Injection by constructor :
  • No labels