摘要: 1 public class MainTest extends TestCase { 2 public void testMain() throws CpbBusinessException { 3 Properties props = new Properties(); 4 props.setProperty(NCLocator.SERVICEDISPATCH_URL,"http://172.16.0.36:8160/ServiceDispatcherServlet"); 5 props.setProperty(NCLocator.T... 阅读全文
posted @ 2012-11-24 15:57 飘零枫叶 阅读(342) 评论(0) 推荐(0) 编辑
摘要: public abstract class AbstractObservable extends Observable { /** * 构建目标对象,给目标对象增加同步器 */ public AbstractObservable() { this.addObserver(AsynDataBase.getInstance()); } /** * 同步器同步数据 */ public void asyn() { setChanged(); notifyObservers(); } /*... 阅读全文
posted @ 2012-11-24 15:21 飘零枫叶 阅读(120) 评论(0) 推荐(0) 编辑