public synchronized void chainClassloader(File jar) {
    try {
      leafLoader = new DeployJarChildFirstClassLoader(artifactIdsToClassLoader,
          new URL[] {jar.toURI().toURL()}, JarFileUtils.toArtifactId(jar.getName()),
          getLeafLoader());
    } catch (MalformedURLException e) {
      e.printStackTrace();
    }
  }
This implementation of {@link ClasspathService} will be used by {@link ClassPathLoader} when the
system is started in a non-modular fashion. An instance can be retrieved from
{@link DeploymentServiceFactory}
geode-deployment/geode-deployment-legacy/src/main/java/org/apache/geode/classloader/internal/LegacyClasspathServiceImpl.java