// IF THE ENGINE IS EXTERNAL
if ("EXT".equalsIgnoreCase(engineType.getValueCd())) {
// instance the driver class
String driverClassName = engine.getDriverName();
IEngineDriver aEngineDriver = null;
try {
aEngineDriver = (IEngineDriver) Class.forName(driverClassName).newInstance();
} catch (Exception e) {
throw new SpagoBIServiceException("Cannot istantiate engine driver class: " + driverClassName, e);
}
// get the map of the parameters
Map mapPars = aEngineDriver.getParameterMap(object, this.subObject, userProfile, executionRole);
// adding "system" parameters
addSystemParametersForExternalEngines(mapPars, locale);
url = GeneralUtilities.getUrl(engine.getUrl(), mapPars);
} else {