Class SmartHomeBundleServlet

  • All Implemented Interfaces:
    Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public abstract class SmartHomeBundleServlet
    extends BaseSmartHomeServlet
    Base class for servlets which host resources using framework bundles.
    Author:
    Ɓukasz Dywicki - Initial contribution
    See Also:
    Serialized Form
    • Constructor Detail

      • SmartHomeBundleServlet

        public SmartHomeBundleServlet()
    • Method Detail

      • setHttpContextFactoryService

        public void setHttpContextFactoryService​(HttpContextFactoryService httpContextFactoryService)
      • unsetHttpContextFactoryService

        public void unsetHttpContextFactoryService​(HttpContextFactoryService httpContextFactoryService)
      • activate

        protected void activate​(String alias,
                                org.osgi.framework.Bundle bundle)
      • activate

        protected void activate​(String alias,
                                org.osgi.framework.BundleContext bundleContext)
      • createHttpContext

        protected final org.osgi.service.http.HttpContext createHttpContext​(org.osgi.framework.Bundle bundle)