119120121122123124125126127128129
try { Admin admin = AdminHelper.narrow( orb.resolve_initial_references("ImplementationRepository")); HostInfo[] hosts = admin.list_hosts(); if (hosts.length > 0) { return hosts[0].name; }
363364365366367368369370371372373
((_info[_i].holding)?"yes":"no")); } } else if (args[1].equals("hosts")) { HostInfo[] _info = _admin.list_hosts(); System.out.println("Hosts (total: " + _info.length + "):"); for(int _i = 0; _i < _info.length; _i++) {
118119120121122123124125126127128
362363364365366367368369370371372