IConnectionWrapper w = (IConnectionWrapper)parentElement;
Root r = w.getRoot();
if( r != null ) {
if (r.containsDomain("org.apache.camel")) {
CamelFacade facade = new JmxTemplateCamelFacade(new JmxPluginJmxTemplate(r.getConnection()));
CamelContextsNode camel = new CamelContextsNode(r, facade);
return new Object[]{camel};
}
}
} else if (parentElement instanceof NodeSupport) {
NodeSupport contexts = (NodeSupport)parentElement;