Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 515 Bytes

DefaultPicoContainer.md

File metadata and controls

22 lines (16 loc) · 515 Bytes
layout title
article
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: