mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Change plugin interface DeviceMgt Service
This commit is contained in:
parent
022834ad04
commit
c070c0c599
@ -25,6 +25,7 @@ import org.osgi.framework.ServiceRegistration;
|
||||
import org.osgi.service.component.ComponentContext;
|
||||
import org.wso2.carbon.device.mgt.common.DeviceManagementConstants;
|
||||
import org.wso2.carbon.device.mgt.common.spi.DeviceManager;
|
||||
import org.wso2.carbon.device.mgt.common.spi.DeviceMgtService;
|
||||
import org.wso2.carbon.device.mgt.mobile.common.MobileDeviceMgtPluginException;
|
||||
import org.wso2.carbon.device.mgt.mobile.config.MobileDeviceConfigurationManager;
|
||||
import org.wso2.carbon.device.mgt.mobile.config.MobileDeviceManagementConfig;
|
||||
@ -100,9 +101,9 @@ public class MobileDeviceManagementServiceComponent {
|
||||
}
|
||||
|
||||
androidServiceRegRef =
|
||||
bundleContext.registerService(DeviceManager.class.getName(), new AndroidDeviceManager(), null);
|
||||
bundleContext.registerService(DeviceMgtService.class.getName(), new AndroidDeviceManager(), null);
|
||||
windowsServiceRegRef =
|
||||
bundleContext.registerService(DeviceManager.class.getName(), new WindowsDeviceManager(), null);
|
||||
bundleContext.registerService(DeviceMgtService.class.getName(), new WindowsDeviceManager(), null);
|
||||
|
||||
if (log.isDebugEnabled()) {
|
||||
log.debug("Mobile Device Management Service Component has been successfully activated");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user