org.apache.felix.webconsole.internal.servlet
Class OsgiManager
java.lang.Object
javax.servlet.GenericServlet
org.apache.felix.webconsole.internal.servlet.OsgiManager
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class OsgiManager
- extends javax.servlet.GenericServlet
The OSGi Manager is the actual Web Console Servlet which
is registered with the OSGi Http Service and which maintains registered
console plugins.
- See Also:
- Serialized Form
|
Constructor Summary |
OsgiManager(org.osgi.framework.BundleContext bundleContext)
|
|
Method Summary |
protected void |
bindHttpService(org.osgi.service.http.HttpService httpService)
|
void |
destroy()
|
void |
dispose()
|
void |
init()
|
void |
service(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res)
|
protected void |
unbindHttpService(org.osgi.service.http.HttpService httpService)
|
| Methods inherited from class javax.servlet.GenericServlet |
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARAM_NO_REDIRECT_AFTER_ACTION
public static final java.lang.String PARAM_NO_REDIRECT_AFTER_ACTION
- The name and value of a parameter which will prevent redirection to a
render after the action has been executed (value is "_noredir_"). This
may be used by programmatic action submissions.
- See Also:
- Constant Field Values
DEFAULT_LOG_LEVEL
public static final int DEFAULT_LOG_LEVEL
- See Also:
- Constant Field Values
OsgiManager
public OsgiManager(org.osgi.framework.BundleContext bundleContext)
dispose
public void dispose()
init
public void init()
- Overrides:
init in class javax.servlet.GenericServlet
- See Also:
GenericServlet.init()
service
public void service(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res)
throws javax.servlet.ServletException,
java.io.IOException
- Specified by:
service in interface javax.servlet.Servlet- Specified by:
service in class javax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
java.io.IOException- See Also:
GenericServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
destroy
public void destroy()
- Specified by:
destroy in interface javax.servlet.Servlet- Overrides:
destroy in class javax.servlet.GenericServlet
- See Also:
GenericServlet.destroy()
bindHttpService
protected void bindHttpService(org.osgi.service.http.HttpService httpService)
unbindHttpService
protected void unbindHttpService(org.osgi.service.http.HttpService httpService)
Copyright © 2012 FuseSource, Corp.. All Rights Reserved.