Class HttpServiceFactory

  • All Implemented Interfaces:
    org.osgi.framework.ServiceFactory<org.osgi.service.http.HttpService>

    public final class HttpServiceFactory
    extends Object
    implements org.osgi.framework.ServiceFactory<org.osgi.service.http.HttpService>
    • Constructor Detail

      • HttpServiceFactory

        public HttpServiceFactory​(org.osgi.framework.BundleContext bundleContext,
                                  HandlerRegistry handlerRegistry)
    • Method Detail

      • start

        public void start​(javax.servlet.ServletContext context,
                          @NotNull
                          @NotNull Hashtable<String,​Object> props)
      • stop

        public void stop()
      • getService

        public org.osgi.service.http.HttpService getService​(org.osgi.framework.Bundle bundle,
                                                            org.osgi.framework.ServiceRegistration<org.osgi.service.http.HttpService> reg)
        Specified by:
        getService in interface org.osgi.framework.ServiceFactory<org.osgi.service.http.HttpService>
      • ungetService

        public void ungetService​(org.osgi.framework.Bundle bundle,
                                 org.osgi.framework.ServiceRegistration<org.osgi.service.http.HttpService> reg,
                                 org.osgi.service.http.HttpService service)
        Specified by:
        ungetService in interface org.osgi.framework.ServiceFactory<org.osgi.service.http.HttpService>
      • getHttpServiceServiceId

        public long getHttpServiceServiceId()