}
public ObjectInstance createMBean(String className, ObjectName objectName, Object[] args, String[] parameters)
throws ReflectionException, InstanceAlreadyExistsException, MBeanRegistrationException, MBeanException, NotCompliantMBeanException, IOException
{
MarshalledObject arguments = RMIMarshaller.marshal(args);
return connection.createMBean(className, objectName, arguments, parameters, delegate);
}