diff src/main/java/alice/topology/manager/StartTopologyManager.java @ 404:fee3efd9257d dispose

add node when application status running
author sugi
date Mon, 23 Jun 2014 18:12:57 +0900
parents 539b7f5772c7
children 74e13553e3e3
line wrap: on
line diff
--- a/src/main/java/alice/topology/manager/StartTopologyManager.java	Mon Jun 23 15:53:33 2014 +0900
+++ b/src/main/java/alice/topology/manager/StartTopologyManager.java	Mon Jun 23 18:12:57 2014 +0900
@@ -83,10 +83,9 @@
 			cs3.done.setKey("local", "done");
 		} else {
 			System.out.println("mode -t");
-			ArrayList<HostMessage> parentList = new ArrayList<HostMessage>();
-			parentList.add(new HostMessage());
+			HashMap<String,HostMessage> parentInfo = new HashMap<String,HostMessage>();
 			int cominghostCount = 0;
-			ods.put("parentList", parentList);
+			ods.put("nodeConnectionInfo", parentInfo);
 			ods.put("hostCount", cominghostCount);
 			new ComingServiceHosts();
 		}