cern.cmw.rda.client
Interface DeviceDirectory

All Known Implementing Classes:
CmwDirectoryServer

public interface DeviceDirectory


Method Summary
 Map<String,Object> getDeviceInfo(List<String> deviceNames)
          Gets a list of device infos for the directory.
 DeviceInfo getDeviceInfo(String deviceName)
           
 DeviceInfo getDeviceInfoFromOldDir(String deviceName)
          Deprecated. 
 

Method Detail

getDeviceInfo

DeviceInfo getDeviceInfo(String deviceName)
                         throws BadParameter,
                                InternalException
Throws:
BadParameter
InternalException

getDeviceInfoFromOldDir

@Deprecated
DeviceInfo getDeviceInfoFromOldDir(String deviceName)
                                   throws BadParameter,
                                          InternalException
Deprecated. 

Throws:
BadParameter
InternalException

getDeviceInfo

Map<String,Object> getDeviceInfo(List<String> deviceNames)
                                 throws InternalException
Gets a list of device infos for the directory.

Parameters:
deviceNames - The list of devices.
Returns:
A map with the device name as the key. The value is either a DeviceInfo instance or an Exception if the devis not found/bound.
Throws:
InternalException - If the directory server is unreachable/available.


Copyright © 2007 CERN. All Rights Reserved.