view src/main/java/alice/test/topology/aquarium/fx/StartAquariumFX.java @ 421:fdac53a9101f dispose

could assign FIsh Object type. but occur ArrayIndexOutOfBoundsException in importer
author sugi
date Fri, 18 Jul 2014 23:47:49 +0900
parents aefbe41fcf12
children c9175c310987
line wrap: on
line source

package alice.test.topology.aquarium.fx;

import alice.topology.node.TopologyNode;

public class StartAquariumFX {
    public static void main(String args[]){
        AquariumConfig conf = new AquariumConfig(args);
        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();
        }
    }

}