1 /* JFox, the OpenSource J2EE Application Server2 *3 * Distributable under GNU LGPL license by gun.org4 * more details please visit http://www.huihoo.org/jfox5 */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.InitializableComponent19 * @see org.jfox.ioc.ext.ServicableComponent20 * @author <a HREF="mailto:young_yy@hotmail.com">Young Yang</a>21 */22 23 public interface SingletonComponent extends Component {24 25 }26