@Override
  protected synchronized Class<?> loadClass(String name, boolean resolve)
      throws ClassNotFoundException {
    try {
      Class<?> clazz = findLoadedClass(name);
      if (clazz == null) {
        clazz = findClass(name);
        if (resolve) {
          resolveClass(clazz);
        }
      }
      return clazz;
    } catch (ClassNotFoundException e) {
      return super.loadClass(name, resolve);
    }
  }
Classloader, which allows finding classes in jars within jars. This is used to check whether a
listener, as found in web.xml, is a ServletContextListener
extensions/geode-modules-session/src/main/java/org/apache/geode/modules/session/installer/JarClassLoader.java