profiles.add (profile);
profileTags[n++] = profile.tag();
TaggedComponentList profileComponents = new TaggedComponentList();
profileComponents.addComponent(create_ORB_TYPE_ID());
componentMap.put(ObjectUtil.newInteger(profile.tag()), profileComponents);
if (profile instanceof ProfileBase)
{
// use proxy or ImR address if necessary
patchAddress((ProfileBase)profile, repId, _transient);