use of org.jkiss.dbeaver.ext.wmi.model.WMIDataSource in project dbeaver by serge-rider.
the class WMIDataSourceProvider method openDataSource.
@NotNull
@Override
public DBPDataSource openDataSource(@NotNull DBRProgressMonitor monitor, @NotNull DBPDataSourceContainer container) throws DBException {
if (!libLoaded) {
DBPDriver driver = container.getDriver();
driver.loadDriver(monitor);
loadNativeLib(driver);
libLoaded = true;
}
return new WMIDataSource(container);
}
Aggregations