Initializing Device Management providers

revert-70aa11f8
prabathabey 10 years ago
parent fd6793a9af
commit a886430005

@ -36,6 +36,8 @@ public class DeviceManagementPluginRepository {
public void addDeviceManagementProvider(DeviceManagementService provider) throws DeviceManagementException {
String deviceType = provider.getType();
try {
/* Initializing Device Management Service Provider */
provider.init();
DeviceManagerUtil.registerDeviceType(deviceType);
} catch (DeviceManagementException e) {
throw new DeviceManagementException("Error occurred while adding device management provider '" +

Loading…
Cancel
Save