public String getRuntimeInformation(Site site, User user, Language language,
Environment environment) {
StringBuffer xml = new StringBuffer();
for (Map.Entry<String, ServiceRegistration> entry : publishingService.getEndpoints().entrySet()) {
ServiceRegistration sr = entry.getValue();
JAXRSServlet servlet = (JAXRSServlet)bundleCtx.getService(sr.getReference());
Object service = servlet.getService();
xml.append("<endpoint>");
xml.append("<name><![CDATA[").append(service.toString()).append("]]></name>");
xml.append("<path>").append(entry.getKey()).append("</path>");
xml.append("<service>").append(service.getClass().getName()).append("</service>");
xml.append("</endpoint>");