IConnectionWrapper w = (IConnectionWrapper)parentElement;
Root r = w.getRoot();
if( r != null ) {
if (r.containsDomain("io.fabric8")) {
try {
JmxPluginJmxTemplate jmxTemplate = new JmxPluginJmxTemplate(r.getConnection());
Fabric8JMXFacade facade = new Fabric8JMXFacade(jmxTemplate);
Fabric8Node fabric8 = new Fabric8Node(r, facade);
return new Object[]{fabric8};
} catch (MalformedObjectNameException ex) {
Fabric8JMXPlugin.getLogger().error(ex);