X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=support%2Finject%2Fsrc%2Fmain%2Fjava%2Forg%2Fwamblee%2Finject%2FSimpleInjector.java;h=449a65a33162bf97114510bbafd8879e5fcce8fc;hb=94ddca39fadbe7931a17c179424afd123bd2863a;hp=9e83064c98cbe5e8f7f5007e94e0fb14ff751b82;hpb=43f6c5285c83202b485e25e8ec20122339955a52;p=utils diff --git a/support/inject/src/main/java/org/wamblee/inject/SimpleInjector.java b/support/inject/src/main/java/org/wamblee/inject/SimpleInjector.java index 9e83064c..449a65a3 100644 --- a/support/inject/src/main/java/org/wamblee/inject/SimpleInjector.java +++ b/support/inject/src/main/java/org/wamblee/inject/SimpleInjector.java @@ -15,7 +15,6 @@ */ package org.wamblee.inject; - /** * The main entry point for programmatic dependency injection. A different * {@link InjectorFactory} can be plugged in for testing. @@ -23,6 +22,7 @@ package org.wamblee.inject; *

* Given the following class: *

+ * *
  *   class Pojo {
  *     @EJB
@@ -47,17 +47,16 @@ package org.wamblee.inject;
  * The SimpleInjector should be cached. This is because the
  * SimpleInjector caches the {@link Injector} objects that it uses
  * internally for performance. This is done because creation of these internal
- * Injector objects may be costly. Caching the simple injector makes sure
- * that a class is not analysed again for annotations every time injection is
- * used.
+ * Injector objects may be costly. Caching the simple injector
+ * makes sure that a class is not analysed again for annotations every time
+ * injection is used.
  * 
  * For more advanced cases, the injector factory can also be directly
- * constructed instead of being obtained through the
- * {@link InjectorFactoryBuilder}.
+ * constructed instead of being obtained through the {@link InjectorBuilder}.
  * 
  * @author Erik Brakkee
  */
-public class SimpleInjector {
+public class SimpleInjector implements Injector {
 
     private InjectorCache cache;