return false;
}
private void generateConfigFile(HttpServletRequest request, Kernel kernel, PrintWriter out) throws ParserConfigurationException, NoSuchStoreException, TransformerException {
ConfigurationManager mgr = ConfigurationUtil.getConfigurationManager(kernel);
PluginInstaller installer = getInstaller(kernel);
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
factory.setNamespaceAware(true);
DocumentBuilder builder = factory.newDocumentBuilder();
Document doc = builder.newDocument();
Element root = doc.createElementNS("http://geronimo.apache.org/xml/ns/plugins-1.1", "geronimo-plugin-list");
doc.appendChild(root);
List stores = mgr.listStores();
for (int i = 0; i < stores.size(); i++) {
AbstractName name = (AbstractName) stores.get(i);
List configs = mgr.listConfigurations(name);
for (int j = 0; j < configs.size(); j++) {
ConfigurationInfo info = (ConfigurationInfo) configs.get(j);
PluginMetadata data = installer.getPluginMetadata(info.getConfigID());
Element config = doc.createElement("plugin");
root.appendChild(config);
createText(doc, config, "name", data.getName());
createText(doc, config, "module-id", data.getModuleId().toString());
createText(doc, config, "category", "Geronimo Deployments");