code: public Object addingService(ServiceReference reference)
      {
          HttpService httpService = (HttpService) context.getService(reference);
  
          String alias = this.getAlias();
          String name = this.getProperty(RESOURCE_NAME);
          if (name == null)
              name = alias;
          try {
              httpService.registerResources(alias, name, httpContext);
          } catch (NamespaceException e) {
              e.printStackTrace();
          }
  
          return httpService;
      }
docs: Http Service is up, add my resource.