Class DynamicClassLoader
java.lang.Object
org.eclipse.lemminx.customservice.synapse.dataService.DynamicClassLoader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic URLClassLoaderstatic voidupdateClassLoader(File jarDirectory) Add DB drivers in a folder to the class loaderstatic voidupdateJarInClassLoader(File jarFile, boolean addJar) Add or remove a DB driver from the class path
-
Constructor Details
-
DynamicClassLoader
public DynamicClassLoader()
-
-
Method Details
-
updateClassLoader
Add DB drivers in a folder to the class loader- Parameters:
jarDirectory- path of the DB driver jars folder- Throws:
Exception
-
updateJarInClassLoader
Add or remove a DB driver from the class path- Parameters:
jarFile- path of the DB driver jaraddJar- whether the jar should be added or removed- Throws:
Exception
-
getClassLoader
-