* @throws SalsaDeviceException
*/
public void loadScan(IConfigEnergy config, IContext context) throws SalsaDeviceException {
String scanServerName = context.getScanServerName();
if (TangoDeviceHelper.isDeviceRunning(scanServerName)) {
scanConnectorToolEnergy = new ScanConnectorToolEnergy(scanServerName);
} else {
String errorMessage = "Cannot load scan configEnergy " + config.getFullPath() + " because "
+ scanServerName + " device is down";
LOGGER.error(errorMessage);
throw new SalsaDeviceException(errorMessage);