org.apache.felix.webconsole.internal.misc
Class EventAdminServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.felix.webconsole.AbstractWebConsolePlugin
org.apache.felix.webconsole.internal.BaseWebConsolePlugin
org.apache.felix.webconsole.internal.misc.EventAdminServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig, OsgiManagerPlugin, EventHandler
public class EventAdminServlet
- extends BaseWebConsolePlugin
- implements EventHandler
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LABEL
public static final String LABEL
- See Also:
- Constant Field Values
TITLE
public static final String TITLE
- See Also:
- Constant Field Values
EventAdminServlet
public EventAdminServlet()
getLabel
public String getLabel()
- Specified by:
getLabel
in class AbstractWebConsolePlugin
getTitle
public String getTitle()
- Specified by:
getTitle
in class AbstractWebConsolePlugin
activate
public void activate(BundleContext context)
- Activate this component.
- Specified by:
activate
in interface OsgiManagerPlugin
- Overrides:
activate
in class AbstractWebConsolePlugin
deactivate
public void deactivate()
- Deactivate this component.
- Specified by:
deactivate
in interface OsgiManagerPlugin
- Overrides:
deactivate
in class BaseWebConsolePlugin
handleEvent
public void handleEvent(Event event)
- Specified by:
handleEvent
in interface EventHandler
- See Also:
EventHandler.handleEvent(org.osgi.service.event.Event)
doPost
protected void doPost(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException,
IOException
- Overrides:
doPost
in class HttpServlet
- Throws:
ServletException
IOException
doGet
protected void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Description copied from class:
AbstractWebConsolePlugin
- Renders the web console page for the request. This consist of the following
four parts called in order:
AbstractWebConsolePlugin.startResponse(HttpServletRequest, HttpServletResponse)
AbstractWebConsolePlugin.renderTopNavigation(HttpServletRequest, PrintWriter)
AbstractWebConsolePlugin.renderContent(HttpServletRequest, HttpServletResponse)
AbstractWebConsolePlugin.endResponse(PrintWriter)
- Overrides:
doGet
in class AbstractWebConsolePlugin
- Throws:
ServletException
IOException
renderContent
protected void renderContent(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Specified by:
renderContent
in class AbstractWebConsolePlugin
- Throws:
ServletException
IOException
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.