KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jfox > ioc > connector > ClusterContainer


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.connector;
8
9 /**
10  * 集群的容器接口,用来接受集群消息,并分发给各具体容器执行对象复制的操作
11  *
12  * @author <a HREF="mailto:young_yy@hotmail.com">Young Yang</a>
13  */

14
15 public interface ClusterContainer extends Container {
16     /**
17      * 进行对象的同步
18      * 首先根据invocation的类型决定调用哪个容器,
19      * 然后根据Invocation的方法来判断是新建还是复制,还是删除
20      * @param invocation
21      */

22     void sync(Invocation invocation);
23
24 }
25
Popular Tags