<%@ page import="org.apache.solr.core.SolrInfoMBean, org.apache.solr.core.SolrInfoRegistry, java.net.URL, java.util.Date, java.util.Map"%> <%@ page contentType="text/xml;charset=UTF-8" language="java" %> <%@include file="_info.jsp" %> <%= collectionName %> <%= hostname %> <%= new Date().toString() %> <%= new Date(core.getStartTime()) %> <% for (SolrInfoMBean.Category cat : SolrInfoMBean.Category.values()) { %> <<%= cat.toString() %>> <% Map reg = SolrInfoRegistry.getRegistry(); synchronized(reg) { for (Map.Entry entry : reg.entrySet()) { String key = entry.getKey(); SolrInfoMBean m = entry.getValue(); if (m.getCategory() != cat) continue; String na = "None Provided"; String name = (m.getName()!=null ? m.getName() : na); String vers = (m.getVersion()!=null ? m.getVersion() : na); String desc = (m.getDescription()!=null ? m.getDescription() : na); String cvsId = (m.getCvsId()!=null ? m.getCvsId() : na); String cvsSrc = (m.getCvsSource()!=null ? m.getCvsSource() : na); String cvsTag = (m.getCvsName()!=null ? m.getCvsName() : na); // print %> <%= key %> <%= name %> <%= vers %> <%= desc %> <%= cvsId %> <%= cvsSrc %> <%= cvsTag %> <% URL[] urls = m.getDocs(); if ((urls != null) && (urls.length != 0)) { %> <% for (URL u : urls) { %> <%= u.toString() %> <% } %> <% } %> <% } } %> > <% } %>