KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jfox > ioc > component > TestComponentD


1 /* JFox, the OpenSource J2EE Application Server
2  *
3  * Distributable under GNU LGPL license by gun.org
4  * more details please visit http://www.huihoo.org/jfox
5  */

6
7 package org.jfox.ioc.component;
8
9 import org.jfox.ioc.Component;
10 import org.jfox.ioc.ComponentContext;
11
12 /**
13  * test inject component
14  *
15  * @author <a HREF="mailto:young_yy@hotmail.com">Young Yang</a>
16  */

17
18 public class TestComponentD implements Component {
19     private TestComponentC c;
20
21     public TestComponentD(TestComponentC c) {
22         this.c = c;
23     }
24
25     public TestComponentC getTestComponent() {
26         return c;
27     }
28
29     public void setComponentContext(ComponentContext ctx) {
30     }
31
32     public static void main(String JavaDoc[] args) {
33
34     }
35 }
36
37
Popular Tags