KickJava   Java API By Example, From Geeks To Geeks.

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


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  * @author <a HREF="mailto:young_yy@hotmail.com">Young Yang</a>
14  */

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