Mercurial > hg > Database > Alice
view src/main/java/alice/test/topology/aquarium/fx/StartAquariumFX.java @ 543:f3f7e256ee03 dispose
add AliceDaemon on paramater
author | Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 03 Aug 2015 20:00:53 +0900 (2015-08-03) |
parents | c9175c310987 |
children |
line wrap: on
line source
package alice.test.topology.aquarium.fx; import alice.daemon.AliceDaemon; import alice.topology.node.TopologyNode; public class StartAquariumFX { public static void main(String args[]){ AquariumConfig conf = new AquariumConfig(args); conf.register(GetMyHostName.class); StartCodeSegment cs = new StartCodeSegment(); if (conf.getManagerHostName() !=null){ cs.ods.put("type", conf.type); new TopologyNode(conf, cs); } else { cs.ods.put("host", "local0"); cs.execute(new AliceDaemon()); } } }