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:
Serializable, Servlet, ServletConfig

public class OsgiManager
extends GenericServlet

The OSGi Manager TODO

See Also:
Serialized Form

Field Summary
static String ATTR_APP_ROOT
           
static String ATTR_LABEL_MAP
           
static 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(BundleContext bundleContext)
           
 
Method Summary
protected  void bindHttpService(HttpService httpService)
           
protected  void bindOperation(Action operation)
           
protected  void bindRender(Render render)
           
protected  void bindServlet(String label, Servlet servlet)
           
 void destroy()
           
 void dispose()
           
protected  boolean handleAction(HttpServletRequest req, HttpServletResponse resp)
           
 void init()
           
 void service(ServletRequest req, ServletResponse res)
           
protected  void unbindHttpService(HttpService httpService)
           
protected  void unbindOperation(Action operation)
           
protected  void unbindRender(Render render)
           
protected  void unbindServlet(String label)
           
 
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
 

Field Detail

ATTR_LABEL_MAP

public static final String ATTR_LABEL_MAP

ATTR_APP_ROOT

public static final String ATTR_APP_ROOT

PARAM_NO_REDIRECT_AFTER_ACTION

public static final 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(BundleContext bundleContext)
Method Detail

dispose

public void dispose()

init

public void init()
Overrides:
init in class GenericServlet

service

public void service(ServletRequest req,
                    ServletResponse res)
             throws ServletException,
                    IOException
Specified by:
service in interface Servlet
Specified by:
service in class GenericServlet
Throws:
ServletException
IOException

destroy

public void destroy()
Specified by:
destroy in interface Servlet
Overrides:
destroy in class GenericServlet

handleAction

protected boolean handleAction(HttpServletRequest req,
                               HttpServletResponse resp)
                        throws IOException
Throws:
IOException

bindHttpService

protected void bindHttpService(HttpService httpService)

unbindHttpService

protected void unbindHttpService(HttpService httpService)

bindServlet

protected void bindServlet(String label,
                           Servlet servlet)

unbindServlet

protected void unbindServlet(String label)

bindOperation

protected void bindOperation(Action operation)

unbindOperation

protected void unbindOperation(Action operation)

bindRender

protected void bindRender(Render render)

unbindRender

protected void unbindRender(Render render)


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.