public virtual List getPropSheets(Class confClass) { ArrayList arrayList = new ArrayList(); Iterator iterator = this.symbolTable.values().iterator(); while (iterator.hasNext()) { PropertySheet propertySheet = (PropertySheet)iterator.next(); if (ConfigurationManagerUtils.isDerivedClass(propertySheet.getConfigurableClass(), confClass)) { arrayList.add(propertySheet); } } return(arrayList); }
public virtual Collection getInstanceNames(Class type) { ArrayList arrayList = new ArrayList(); Iterator iterator = this.symbolTable.values().iterator(); while (iterator.hasNext()) { PropertySheet propertySheet = (PropertySheet)iterator.next(); if (propertySheet.isInstanciated()) { if (ConfigurationManagerUtils.isDerivedClass(propertySheet.getConfigurableClass(), type)) { arrayList.add(propertySheet.getInstanceName()); } } } return(arrayList); }