Components

Authors: Paul Hammant, Aslak Hellesoy, Jon Tirsen

Overview


A pico compatible component is a public class that, for PicoContainer at least, is characterized in the following ways:

  • Does not have to implement or extend anything (unless they want to participate in the default lifecycle, see Lifecycle).
  • Declares one or more public constructors where the arguments are the component's dependencies and configuration.
  • Reusable in many different deployment scenarios (root, servlet, applet ClassLoaders etc).