public static <R> R newInstance(String pluginJarPath, ClassLoaderSupplier<R> supplier) throws Exception {
        ClassLoader classLoader = retrieveClassLoad(pluginJarPath);
        return ClassLoaderSupplierCallBack.callbackAndReset(supplier, classLoader);
    }
company: www.dtstack.com
author: toutian
create: 2019/10/14
core/src/main/java/com/dtstack/flink/sql/classloader/ClassLoaderManager.java