private static ClasspathService createClassPathService() {
    ServiceLoader<ClasspathService> jarDeploymentServices =
        ServiceLoader.load(ClasspathService.class);
    if (jarDeploymentServices.iterator().hasNext()) {
      ClasspathService classpathService = jarDeploymentServices.iterator().next();
      return classpathService;
    } else {
      throw new ServiceLoadingFailureException(
          "No implementation of ClasspathService could be loaded.");
    }
  }
Factory responsible for loading and holding the singleton instances of the
{@link JarDeploymentService} and {@link ClasspathService}.
Use this class to retrieve the instances rather than creating one.

@since Geode 1.15
geode-core/src/main/java/org/apache/geode/internal/deployment/DeploymentServiceFactory.java