DefaultPicoContainer
DefaultPicoContainer is the main workhorse container.
Here is an example of use:
DefaultPicoContainer dpc = new DefaultPicoContainer();
dpc.addComponent(Foo.class, FooImpl.class);
Foo foo = dpc.getComponent(Foo.class)
Parameters in its constructors can be:
- Behavior Factories or Component Factories
- Lifecycle Strategies
- Component Monitors
- Parent Containers of various types