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