Object result = null;
boolean isException = false;
try {
result = mbsc.createMBean(
(String)request.getParams()[0],
(ObjectName)request.getParams()[1],
(Object[])request.getParams()[2],
(String[])request.getParams()[3]
);
}
catch(Throwable e) {
result = e;
isException = true;
}
return ( new MBeanServerResponseMessage(METHOD_ID, result, isException) );