*
* @throws NotAGroupObject if the ref doesn't have a MIOP profile
*/
private MIOPProfile getMIOPProfile (org.omg.CORBA.Object ref) throws NotAGroupObject
{
Delegate delegate = (Delegate)((ObjectImpl)ref)._get_delegate ();
Profile profile = delegate.getParsedIOR ().getEffectiveProfile ();
if (profile instanceof MIOPProfile)
{
return (MIOPProfile)profile;
}