public ClassLoader getClassloaderForArtifact(String artifactId) {
    return artifactIdsToClassLoader.get(artifactId);
  }
See {@link Proxy#getProxyClass(ClassLoader, Class...)}
geode-deployment/geode-deployment-legacy/src/main/java/org/apache/geode/classloader/internal/LegacyClasspathServiceImpl.java