Class DriverLoader
java.lang.Object
org.eclipse.lemminx.customservice.synapse.driver.DriverLoader
Utility class for loading JDBC drivers into the class loader.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidloadDriverJar(String driverJarPath) Loads a specific driver JAR file into the class loader.static voidloadTempDrivers(String projectUri) Loads all temporary driver JARs found in the project's driver directory into the class loader.
-
Constructor Details
-
DriverLoader
public DriverLoader()
-
-
Method Details
-
loadTempDrivers
Loads all temporary driver JARs found in the project's driver directory into the class loader.- Parameters:
projectUri- The URI of the project.
-
loadDriverJar
Loads a specific driver JAR file into the class loader.- Parameters:
driverJarPath- The absolute path to the driver JAR file.
-