KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > jfun > yan > etc > injection > Injection


1 package jfun.yan.etc.injection;
2
3 /**
4  * This interface abstract the notion of dependency injection.
5  * <p>
6  * @author Ben Yu
7  * Dec 15, 2005 9:09:09 PM
8  */

9 public interface Injection {
10   /**
11    * Inject dependency into an object.
12    * @param obj the object.
13    * @return is this object injected by this Injection object?
14    */

15   boolean inject(Object JavaDoc obj);
16 }
17
Popular Tags