Package ch.entwine.weblounge.kernel.publisher

Examples of ch.entwine.weblounge.kernel.publisher.JAXRSServlet


  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>");
View Full Code Here

TOP

Related Classes of ch.entwine.weblounge.kernel.publisher.JAXRSServlet

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.