Class OsgiManager

  • All Implemented Interfaces:
    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
    • 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_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
    • Constructor Detail

      • OsgiManager

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

      • 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,
                            IOException
        Specified by:
        service in interface javax.servlet.Servlet
        Specified by:
        service in class javax.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 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)