}
MBeanServerConnection connection = connector.getMBeanServerConnection();
// Test the MBean's existence before proceeding. Will throw
// InstanceNotFoundException
connection.getObjectInstance(name);
LiveBeansViewMBean mbean = MBeanServerInvocationHandler.newProxyInstance(connection, name,
LiveBeansViewMBean.class, false);
return generateModel(mbean, session);
}
}
catch (MalformedObjectNameException e) {