org.apache.felix.webconsole.internal.servlet
Class OsgiManager

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by 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 TODO

See Also:
Serialized Form

Field Summary
static 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_").
 
Constructor Summary
OsgiManager(org.osgi.framework.BundleContext bundleContext)
           
 
Method Summary
protected  void bindHttpService(org.osgi.service.http.HttpService httpService)
           
protected  void bindOperation(Action operation)
           
protected  void bindRender(Render render)
           
 void dispose()
           
protected  Render getRender(javax.servlet.http.HttpServletRequest request)
           
protected  boolean handleAction(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
 void service(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res)
           
protected  void unbindHttpService(org.osgi.service.http.HttpService httpService)
           
protected  void unbindOperation(Action operation)
           
protected  void unbindRender(Render render)
           
 
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
 

Field Detail

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
Constructor Detail

OsgiManager

public OsgiManager(org.osgi.framework.BundleContext bundleContext)
Method Detail

dispose

public void dispose()

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

handleAction

protected boolean handleAction(javax.servlet.http.HttpServletRequest req,
                               javax.servlet.http.HttpServletResponse resp)
                        throws java.io.IOException
Throws:
java.io.IOException

getRender

protected Render getRender(javax.servlet.http.HttpServletRequest request)

bindHttpService

protected void bindHttpService(org.osgi.service.http.HttpService httpService)

unbindHttpService

protected void unbindHttpService(org.osgi.service.http.HttpService httpService)

bindOperation

protected void bindOperation(Action operation)

unbindOperation

protected void unbindOperation(Action operation)

bindRender

protected void bindRender(Render render)

unbindRender

protected void unbindRender(Render render)