Mercurial > hg > Database > Alice
view src/alice/test/codesegment/local/StartCodeSegment.java @ 175:d7816b9b72e9 working
minor change
author | e095732 |
---|---|
date | Thu, 24 Jan 2013 21:23:16 +0900 |
parents | 16418c2c3e72 |
children | 52a1fa5ba38b |
line wrap: on
line source
package alice.test.codesegment.local; import alice.codesegment.CodeSegment; public class StartCodeSegment extends CodeSegment { @Override public void run() { System.out.println("run StartCodeSegment"); /* TestCodeSegment cs = new TestCodeSegment(); cs.arg1.setKey("key1"); // unbound datasegment key1 is created and connect to cs. // cs is waiting for local.key1 ods.update("local", "key1", 0); // bind string data to datasegment local.key1 // this startup TestCodeSegment. */ ods.put("local", "key1", 0); ods.put("local", "key1", 1); ods.put("local", "key1", 2); ods.put("local", "key1", 3); new TestCodeSegment(1); System.out.println("create TestCodeSegment"); //ods.update("local", "key1", 0); } }