super();
}
private it.eng.spagobi.services.datasource.stub.DataSourceService lookUp() throws SecurityException {
try {
DataSourceServiceServiceLocator locator = new DataSourceServiceServiceLocator();
it.eng.spagobi.services.datasource.stub.DataSourceService service=null;
if (serviceUrl!=null ){
service = locator.getDataSourceService(serviceUrl);
}else {
service = locator.getDataSourceService();
}
return service;
} catch (ServiceException e) {
logger.error("Impossible to locate [" + SERVICE_NAME + "] at [" + serviceUrl + "]");
throw new SecurityException("Impossible to locate [" + SERVICE_NAME + "] at [" + serviceUrl + "]", e);