KickJava   Java API By Example, From Geeks To Geeks.

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


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 package org.jfox.ioc.component;
7
8 import org.jfox.ioc.Component;
9 import org.jfox.ioc.ComponentContext;
10
11 /**
12  *
13  * the most easiest component
14  *
15  * @author <a HREF="mailto:young_yy@hotmail.com">Young Yang</a>
16  */

17
18 public class TestComponentA implements Component {
19     private String JavaDoc name ="";
20
21     public TestComponentA() {
22
23     }
24
25     public String JavaDoc getName() {
26         return name;
27     }
28
29     public void setName(String JavaDoc name) {
30         this.name = name;
31     }
32
33     public void setComponentContext(ComponentContext ctx) {
34
35     }
36
37     public static void main(String JavaDoc[] args) {
38
39     }
40 }
41
42
Popular Tags