Fixing mobile related implementations of DeviceManagerService SPI to be able to support newly added getProviderType method

4.x.x
prabathabey 10 years ago
parent d2b39b7152
commit 7ebb6fba4d

@ -27,6 +27,13 @@ import java.util.List;
*/
public class AndroidDeviceManagerService implements DeviceManagerService {
private static final String DEVICE_MANAGER_ANDROID = "android";
@Override
public String getProviderType() {
return DEVICE_MANAGER_ANDROID;
}
@Override
public void enrollDevice(Device device) throws DeviceManagementException {

@ -26,6 +26,14 @@ import java.util.List;
* This represents the iOS implementation of DeviceManagerService. *
*/
public class IOSDeviceManagerService implements DeviceManagerService {
private static final String DEVICE_MANAGER_IOS = "ios";
@Override
public String getProviderType() {
return DEVICE_MANAGER_IOS;
}
@Override
public void enrollDevice(Device device) throws DeviceManagementException {

@ -25,7 +25,15 @@ import java.util.List;
/**
* This represents the Windows implementation of DeviceManagerService.
*/
public class WindowsDeviceManagerService implements DeviceManagerService{
public class WindowsDeviceManagerService implements DeviceManagerService {
private static final String DEVICE_MANAGER_WINDOWS = "windows";
@Override
public String getProviderType() {
return DEVICE_MANAGER_WINDOWS;
}
@Override
public void enrollDevice(Device device) throws DeviceManagementException {

Loading…
Cancel
Save