@Service(value=javax.servlet.Servlet.class)
@Property(name="service.description",value="Adapter Web Console Plugin") @Property(name="service.vendor",value="The Apache Software Foundation") @Property(name="felix.webconsole.label",value="adapters") @Property(name="felix.webconsole.title",value="Sling Adapters") @Property(name="felix.webconsole.css",value="/adapters/res/ui/adapters.css") @Property(name="felix.webconsole.configprinter.modes",value="always") @Property(name="felix.webconsole.category",value="Sling")
public class AdapterWebConsolePlugin
extends javax.servlet.http.HttpServlet
implements org.osgi.util.tracker.ServiceTrackerCustomizer, org.osgi.framework.BundleListener
| Constructor and Description |
|---|
AdapterWebConsolePlugin() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate(org.osgi.service.component.ComponentContext ctx) |
Object |
addingService(org.osgi.framework.ServiceReference reference) |
void |
bundleChanged(org.osgi.framework.BundleEvent event) |
protected void |
deactivate(org.osgi.service.component.ComponentContext ctx) |
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
void |
modifiedService(org.osgi.framework.ServiceReference reference,
Object service) |
void |
printConfiguration(PrintWriter pw) |
void |
removedService(org.osgi.framework.ServiceReference reference,
Object service) |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, servicepublic Object addingService(org.osgi.framework.ServiceReference reference)
addingService in interface org.osgi.util.tracker.ServiceTrackerCustomizerpublic void bundleChanged(org.osgi.framework.BundleEvent event)
bundleChanged in interface org.osgi.framework.BundleListenerpublic void modifiedService(org.osgi.framework.ServiceReference reference,
Object service)
modifiedService in interface org.osgi.util.tracker.ServiceTrackerCustomizerpublic void removedService(org.osgi.framework.ServiceReference reference,
Object service)
removedService in interface org.osgi.util.tracker.ServiceTrackerCustomizerprotected void activate(org.osgi.service.component.ComponentContext ctx)
throws org.osgi.framework.InvalidSyntaxException
org.osgi.framework.InvalidSyntaxExceptionprotected void deactivate(org.osgi.service.component.ComponentContext ctx)
protected void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
doGet in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionpublic void printConfiguration(PrintWriter pw)
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.