{
groupIIOPProfile = (IIOPProfile)new ParsedIOR (orb, "corbaloc:" +
corbalocStr.substring (sub + 1)).getEffectiveProfile ();
objectKey = groupIIOPProfile.get_object_key ();
TaggedProfile taggedProfile = groupIIOPProfile.asTaggedProfile ();
components.addComponent (taggedProfile.tag, taggedProfile.profile_data);
}
uipmc.components = components.asArray ();
}
if (tagGroup == null)
{
if (logger.isDebugEnabled ())
{
logger.debug ("MIOPProfile inspecting uipmc components.");
}
components = new TaggedComponentList ();
for (int i = 0; i < uipmc.components.length; i++)
{
TaggedComponent component = uipmc.components[i];
components.addComponent (component);
switch (component.tag)
{
case TAG_GROUP.value:
{
if (logger.isDebugEnabled ())
{
logger.debug ("MIOPProfile inspecting tagGroup.");
}
CDRInputStream in2 = new CDRInputStream (orb, component.component_data);
in2.openEncapsulatedArray();
tagGroup = TagGroupTaggedComponentHelper.read (in2);
in2.close();
break;
}
case TAG_INTERNET_IOP.value:
{
if (logger.isDebugEnabled ())
{
logger.debug ("MIOPProfile inspecting group iiop profile.");
}
IOR ior = new IOR ("IDL:omg.org/CORBA/Object:1.0",
new TaggedProfile[] { new TaggedProfile (component.tag,
component.component_data) });
groupIIOPProfile = (IIOPProfile)new ParsedIOR (orb, ior).getEffectiveProfile ();
}
}