KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jfox > ioc > ext > SingletonComponent


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.ext;
8
9 import org.jfox.ioc.Component;
10
11 /**
12  * 实现该接口的组件,必定是singleton的,容器将忽略CompomentMetat中的设置,
13  * 只会给该组件生成一个实例。
14  * 如果一个组件只有一个实例,实现该接口是最有保证的。
15  *
16  * 接口 {@link org.jfox.ioc.ext.ServicableComponent} 继承了该接口
17  *
18  * @see org.jfox.ioc.ext.InitializableComponent
19  * @see org.jfox.ioc.ext.ServicableComponent
20  * @author <a HREF="mailto:young_yy@hotmail.com">Young Yang</a>
21  */

22
23 public interface SingletonComponent extends Component {
24
25 }
26
Popular Tags