arglist2[0] = Integer.valueOf(port);
meth2.invoke(retobj, arglist2);
// Add the new instance to its parent component
ObjectName pname = new ObjectName(parent);
Service service = getService(pname);
service.addConnector((Connector)retobj);
Method getObjectName = cls.getMethod("getObjectName",(Class[])null);
// Return the corresponding MBean name
ObjectName coname = (ObjectName)getObjectName.invoke(retobj,(Object[]) null);
//ObjectName coname =