public static BSimJDBCDataSource getDataSourceIfExists(BSimServerInfo serverInfo) {
		switch (serverInfo.getDBType()) {
			case postgres:
				return BSimPostgresDBConnectionManager.getDataSourceIfExists(serverInfo);
			case file:
				return BSimH2FileDBConnectionManager.getDataSourceIfExists(serverInfo);
			default:
				return null;
		}
	}
Convenience method to get existing BSim JDBC datasource
@param serverInfo BSim DB server info
@return BSim DB datasource or null if not instantiated or server does not support a
{@link BSimJDBCDataSource}.
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/gui/BSimServerManager.java