nameToInfo = new HashMap();
NodeInfo[] nodes =
(NodeInfo[]) node.getTopology().getNodes().toArray(new NodeInfo[0]);
for (int i = 0; i < nodes.length; i++) {
NodeInfo nodeInfo = nodes[i];
EndPointProxyInfo proxyInfo =
new EndPointProxyInfo(ManagedServer.END_POINT_ID,
DeploymentServer.class, nodeInfo);
ServerInfo info = new ServerInfo();
info.server =
(DeploymentServer) node.factoryEndPointProxy(proxyInfo);
info.target = new TargetImpl2(nodeInfo.getName(), null);