public static ClassPathLoader setLatestToDefault(File workingDir) {
    latest = new ClassPathLoader(Boolean.getBoolean(EXCLUDE_TCCL_PROPERTY), workingDir);
    return latest;
  }
The delegating <tt>ClassLoader</tt> used by GemFire to load classes and other resources. This
<tt>ClassLoader</tt> delegates to any <tt>ClassLoader</tt>s added to the list of custom class
loaders, thread context <tt>ClassLoader</tt> s unless they have been excluded}, the
<tt>ClassLoader</tt> which loaded the GemFire classes, and finally the system
<tt>ClassLoader</tt>.

<p>
The thread context class loaders can be excluded by setting the system property
<tt>gemfire.excludeThreadContextClassLoader</tt>:
<ul>
<li><tt>-Dgemfire.excludeThreadContextClassLoader=true</tt>
<li><tt>System.setProperty("gemfire.excludeThreadContextClassLoader", "true");</tt>
</ul>

<p>
Class loading and resource loading order:
<ul>
<li>1. Any custom loaders in the order they were added
<li>2. <tt>Thread.currentThread().getContextClassLoader()</tt> unless excludeTCCL == true
<li>3. <tt>ClassPathLoader.class.getClassLoader()</tt>
<li>4. <tt>ClassLoader.getSystemClassLoader()</tt> If the attempt to acquire any of the above
class loaders results in either a {@code SecurityException} or a null, then that class loader is
quietly skipped. Duplicate class loaders will be skipped.
</ul>

<p>
See http://docs.oracle.com/javase/specs/jvms/se7/html/jvms-5.html for more information about
{@code ClassLoader}s.

@since GemFire 6.5.1.4
geode-core/src/main/java/org/apache/geode/internal/classloader/ClassPathLoader.java