code: protected ServletDelegate getDelegate(ServletConfig servletConfig)
     {
        ClassLoaderProvider clProvider = ClassLoaderProvider.getDefaultProvider();
        ClassLoader cl = clProvider.getWebServiceSubsystemClassLoader();
        ServiceLoader<ServletDelegateFactory> sl = ServiceLoader.load(ServletDelegateFactory.class, cl);
        ServletDelegateFactory factory = sl.iterator().next();
        return factory.newServletDelegate(servletConfig.getInitParameter(STACK_SERVLET_DELEGATE_CLASS));
     }
docs: Creates a ServletDelegate instance according to the STACK_SERVLET_DELEGATE_CLASS init parameter.
  The class is loaded through a ServletDelegateFactory that's retrieved as follows:
  - if a default ClassLoaderProvider is available, the webservice subsystem classloader from it
  is used to lookup the factory
  - otherwise the current thread context classloader is used to lookup the factory.
  
  @param servletConfig   servlet config
  @return the servlet delegate