126127128129130131132133134135136
// do dummy command to pick up exception mongo.getDatabaseNames(); } BasicDBList getShards() { XmlUnit child = getChild(0); if (child instanceof RouterNode) { return ((RouterNode)child).getShards(); } return null; }
134135136137138139140141142143144
} return null; } String[] getShardNames() { XmlUnit child = getChild(0); if (child instanceof RouterNode) { return ((RouterNode)child).getShardNames(); } return null; }
4546474849505152535455
protected void structureComponentCustom(JComponent old) { long time = System.currentTimeMillis(); removeAllChildren(); try { XmlUnit parent = getParent(); if (parent instanceof Tree || ((BaseTreeNode) parent).hasExpanded) { UMongo.instance.addNodeToRefresh(this); populateChildren(); } } catch (Exception e) {