*
* <p>Users of this package will typically use: </p>
* <ul>
- * <li> <code>SimpleInjector</code>: This is the class used to perform injection of dependencies into
+ * <li> <code>Injector</code>: This is the interface used to perform injection of dependencies into
* a given object. </li>
* <li> <code>Injectable</code>: By subclassing this class, the classes automatically get their
* dependencies injected at construction. </li>
- * <li> <code>InjectorFactoryBuilder</code>: To get an injector factory reference for use in the
- * <code>SimpleInjector</code>
+ * <li> <code>InjectorBuilder</code>: To get an instance of the <code>Injector</code>.
+ * </li>
* </ul>
*
+ * <p>For example, to inject into a given object, use:</p>
+ * <pre>
+ * Injector injector = InjectorBuilder.getInjector();
+ * MyPojo pojo = new MyPojo();
+ * injector.inject(pojo);
+ * </pre>
+ *
* <h2>Implementors of the package</h2>
*
* <p>Of interest to implementations of this package integrating with dependency injection frameworks are: </p>
* <li> <code>Injector</code>: The main interface to be implemented is the {@link Injector}, by which injection is done.</li>
* <li> <code>InjectorFactory</code>: Injectors are created by an implementation of the {@link InjectorFactory} which
* creates injectors based on the class.</li>
- * <li> <code>InjectorFactoryBuilder</code>: Implementations must make their <code>InjectorFactory</code>
+ * <li> <code>InjectorBuilder</code>: Implementations must make their <code>InjectorFactory</code>
* available through the <code>ServiceLoader</code> mechanism.
* </li>
* </ul>
*/
package org.wamblee.inject;
-