throw new Exception("One of dynamicClass/datbaseURL was not specified for: " + profileName);
}
Class c = Class.forName(dynamicClass);
DynamicClass arjunaJDBC2DynamicClass = (DynamicClass) c.newInstance();
javax.sql.XADataSource xaDataSource = arjunaJDBC2DynamicClass.getDataSource(databaseURL);
xaDataSourceToBind = xaDataSource;
}
else if (driver.equals("oracle.jdbc.driver.OracleDriver"))
{