org.apache.sling.event.impl.jobs.console
Class WebConsolePlugin

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.apache.sling.event.impl.jobs.console.WebConsolePlugin
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, org.osgi.service.event.EventHandler

@Service(value={javax.servlet.Servlet.class,org.osgi.service.event.EventHandler.class})
@Properties(value={@Property(name="felix.webconsole.label",value="slingevent"),@Property(name="felix.webconsole.title",value="Jobs"),@Property(name="felix.webconsole.category",value="Sling"),@Property(name="event.topics",value="sling/webconsole/test")})
public class WebConsolePlugin
extends javax.servlet.http.HttpServlet
implements org.osgi.service.event.EventHandler

This is a web console plugin displaying the active queues, some statistics and the configurations.

Since:
3.0
See Also:
Serialized Form

Constructor Summary
WebConsolePlugin()
           
 
Method Summary
protected  void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
protected  void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
 void handleEvent(org.osgi.service.event.Event event)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebConsolePlugin

public WebConsolePlugin()
Method Detail

doPost

protected void doPost(javax.servlet.http.HttpServletRequest req,
                      javax.servlet.http.HttpServletResponse resp)
               throws javax.servlet.ServletException,
                      IOException
Overrides:
doPost in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
IOException

doGet

protected void doGet(javax.servlet.http.HttpServletRequest req,
                     javax.servlet.http.HttpServletResponse res)
              throws javax.servlet.ServletException,
                     IOException
Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
IOException

handleEvent

public void handleEvent(org.osgi.service.event.Event event)
Specified by:
handleEvent in interface org.osgi.service.event.EventHandler


Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.