boolean add_default_profile = true;
for (int i = 0; i < profile.getComponentCount(); i++) {
switch (profile.getTag(i)) {
case TAG_ALTERNATE_IIOP_ADDRESS.value:
AlternateIIOPComponent aiiopc = (AlternateIIOPComponent) profile
.getComponent(i);
try {
addProfile(profs, profile, aiiopc.getInetTransport());
}
catch (UnknownHostException e) {
// ignore -- we don't know this host //
}
break;