| 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 |
<html> |
| 3 |
<head> |
| 4 |
</head> |
| 5 |
<body> |
| 6 |
<p> |
| 7 |
This package contains the core API for PicoContainer, a compact container for working with the |
| 8 |
<a href="http://www.martinfowler.com/articles/injection.html">dependency injection</a> pattern. |
| 9 |
</p> |
| 10 |
<p> |
| 11 |
When you use |
| 12 |
PicoContainer for dependency injection, you create a new instance of {@link org.picocontainer.MutablePicoContainer}, |
| 13 |
register classes (and possibly |
| 14 |
{@link org.picocontainer.ComponentAdapter}s and component instances created through other means). |
| 15 |
</p> |
| 16 |
<p> |
| 17 |
Object instances can then be accessed through the {@link org.picocontainer.PicoContainer} interface. The container will create all |
| 18 |
instances for you automatically, resolving their dependencies and order of instantiation. The default container implementation is |
| 19 |
the {@link org.picocontainer.defaults.DefaultPicoContainer} class. |
| 20 |
</p> |
| 21 |
|
| 22 |
<p>An extensive user guide, |
| 23 |
a list of Frequently Asked Questions (FAQ) with answers and a lot more information is available from the |
| 24 |
<a href="http://www.picocontainer.org/">PicoContainer</a> website. You can also find various extensions, wrappers |
| 25 |
and utility libraries that are based on this core API there.</p> |
| 26 |
</body> |
| 27 |
</html> |