code: @Override
      public void init(ServletConfig servletConfig, JaxRsProviderFactoryService providerFactoryService) throws ServletException {
          super.init(servletConfig, providerFactoryService);
  
          LibertyJaxRsServerFactoryBean jaxRsServerFactory = new LibertyJaxRsServerFactoryBean(endpointInfo, jaxRsModuleMetaData, beanCustomizers, servletConfig, providerFactoryService);
          if (features != null && !features.isEmpty()) {
              jaxRsServerFactory.setFeatures(features);
          }
          jaxRsServerFactory.doInit();
  
          ClassLoader origClassLoader = jaxRsServerFactory.getBus().getExtension(ClassLoader.class);
          jaxRsServerFactory.getBus().setExtension(null, ClassLoader.class);
          server = jaxRsServerFactory.create();
          jaxRsServerFactory.getBus().setExtension(origClassLoader, ClassLoader.class);
  
          configureEndpointInfoProperties(endpointInfo, server.getEndpoint().getEndpointInfo());
  
          server.start();
          destination = (AbstractHTTPDestination) server.getDestination();
      }
docs: {@inheritDoc}