public ClassLoader getClassLoader() {
    return classloader == null ? Thread.currentThread().getContextClassLoader() : classloader;
  }
Returns the classloader that will be used for scanning for classes. If no explicit
ClassLoader has been set by the calling, the context class loader will be used.

@return the ClassLoader that will be used to scan for classes
src/main/java/org/apache/ibatis/io/ResolverUtil.java