org.apache.sling.adapter.internal
Class AdapterWebConsolePlugin
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.sling.adapter.internal.AdapterWebConsolePlugin
- All Implemented Interfaces:
- java.io.Serializable, java.util.EventListener, javax.servlet.Servlet, javax.servlet.ServletConfig, org.osgi.framework.BundleListener, org.osgi.util.tracker.ServiceTrackerCustomizer
@Service(value=javax.servlet.Servlet.class)
@Properties(value={@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")})
public class AdapterWebConsolePlugin
- extends javax.servlet.http.HttpServlet
- implements org.osgi.util.tracker.ServiceTrackerCustomizer, org.osgi.framework.BundleListener
- See Also:
- Serialized Form
Method Summary |
protected void |
activate(org.osgi.service.component.ComponentContext ctx)
|
java.lang.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,
java.lang.Object service)
|
void |
printConfiguration(java.io.PrintWriter pw)
|
void |
removedService(org.osgi.framework.ServiceReference reference,
java.lang.Object service)
|
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPost, 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 |
AdapterWebConsolePlugin
public AdapterWebConsolePlugin()
addingService
public java.lang.Object addingService(org.osgi.framework.ServiceReference reference)
- Specified by:
addingService
in interface org.osgi.util.tracker.ServiceTrackerCustomizer
bundleChanged
public void bundleChanged(org.osgi.framework.BundleEvent event)
- Specified by:
bundleChanged
in interface org.osgi.framework.BundleListener
modifiedService
public void modifiedService(org.osgi.framework.ServiceReference reference,
java.lang.Object service)
- Specified by:
modifiedService
in interface org.osgi.util.tracker.ServiceTrackerCustomizer
removedService
public void removedService(org.osgi.framework.ServiceReference reference,
java.lang.Object service)
- Specified by:
removedService
in interface org.osgi.util.tracker.ServiceTrackerCustomizer
activate
protected void activate(org.osgi.service.component.ComponentContext ctx)
throws org.osgi.framework.InvalidSyntaxException
- Throws:
org.osgi.framework.InvalidSyntaxException
deactivate
protected void deactivate(org.osgi.service.component.ComponentContext ctx)
doGet
protected void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
java.io.IOException
- Overrides:
doGet
in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
printConfiguration
public void printConfiguration(java.io.PrintWriter pw)
Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.