Mercurial > hg > Database > Alice
view src/alice/test/codesegment/local/StartCodeSegment.java @ 323:d746c4486287
work
author | one |
---|---|
date | Mon, 23 Dec 2013 17:13:16 +0900 |
parents | f1f0638861ab |
children |
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 System.out.println("create TestCodeSegment"); ods.update("local", "key1", "String data"); // bind string data to datasegment local.key1 // this startup TestCodeSegment. } }