Class OsgiManager
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- org.apache.felix.webconsole.internal.servlet.OsgiManager
-
- All Implemented Interfaces:
Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
public class OsgiManager extends javax.servlet.GenericServletTheOSGi Manageris the actual Web Console Servlet which is registered with the OSGi Http Service and which maintains registered console plugins.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringATTR_LABEL_MAP_CATEGORIZEDThe name of the (internal) request attribute providing the categorized label map structure.static booleanDEFAULT_ENABLE_SECRET_HEURISTICDefault value for secret heuristicsstatic intDEFAULT_LOG_LEVELstatic booleanENABLE_SECRET_HEURISTICSFlag to control whether secret heuristics is enabledstatic StringPARAM_NO_REDIRECT_AFTER_ACTIONThe name and value of a parameter which will prevent redirection to a render after the action has been executed (value is "_noredir_").
-
Constructor Summary
Constructors Constructor Description OsgiManager(org.osgi.framework.BundleContext bundleContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidbindHttpService(org.osgi.service.http.HttpService httpService)voiddestroy()voiddispose()voidinit()voidservice(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res)protected voidunbindHttpService(org.osgi.service.http.HttpService httpService)
-
-
-
Field Detail
-
ATTR_LABEL_MAP_CATEGORIZED
public static final String ATTR_LABEL_MAP_CATEGORIZED
The name of the (internal) request attribute providing the categorized label map structure.- See Also:
- Constant Field Values
-
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
-
DEFAULT_LOG_LEVEL
public static final int DEFAULT_LOG_LEVEL
- See Also:
- Constant Field Values
-
DEFAULT_ENABLE_SECRET_HEURISTIC
public static final boolean DEFAULT_ENABLE_SECRET_HEURISTIC
Default value for secret heuristics- See Also:
- Constant Field Values
-
ENABLE_SECRET_HEURISTICS
public static volatile boolean ENABLE_SECRET_HEURISTICS
Flag to control whether secret heuristics is enabled
-
-
Method Detail
-
dispose
public void dispose()
-
init
public void init()
- Overrides:
initin classjavax.servlet.GenericServlet- See Also:
GenericServlet.init()
-
service
public void service(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res) throws javax.servlet.ServletException, IOException- Specified by:
servicein interfacejavax.servlet.Servlet- Specified by:
servicein classjavax.servlet.GenericServlet- Throws:
javax.servlet.ServletExceptionIOException- See Also:
GenericServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
-
destroy
public void destroy()
- Specified by:
destroyin interfacejavax.servlet.Servlet- Overrides:
destroyin classjavax.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)
-
-