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.GenericServlet
TheOSGi 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
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATTR_LABEL_MAP_CATEGORIZED
The name of the (internal) request attribute providing the categorized label map structure.static boolean
DEFAULT_ENABLE_SECRET_HEURISTIC
Default value for secret heuristicsstatic int
DEFAULT_LOG_LEVEL
static boolean
ENABLE_SECRET_HEURISTICS
Flag to control whether secret heuristics is enabledstatic 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
Constructors Constructor Description OsgiManager(org.osgi.framework.BundleContext bundleContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
-
-
-
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:
init
in 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:
service
in interfacejavax.servlet.Servlet
- Specified by:
service
in classjavax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
IOException
- See Also:
GenericServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
-
destroy
public void destroy()
- Specified by:
destroy
in interfacejavax.servlet.Servlet
- Overrides:
destroy
in 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)
-
-