|
|
|
@ -20,23 +20,18 @@ package org.coffeeking.connectedcup.plugin.impl;
|
|
|
|
|
|
|
|
|
|
import org.coffeeking.connectedcup.plugin.constants.ConnectedCupConstants;
|
|
|
|
|
import org.wso2.carbon.base.MultitenantConstants;
|
|
|
|
|
import org.wso2.carbon.device.mgt.common.DeviceIdentifier;
|
|
|
|
|
import org.wso2.carbon.device.mgt.common.DeviceManagementException;
|
|
|
|
|
import org.wso2.carbon.device.mgt.common.DeviceManager;
|
|
|
|
|
import org.wso2.carbon.device.mgt.common.OperationMonitoringTaskConfig;
|
|
|
|
|
import org.wso2.carbon.device.mgt.common.InitialOperationConfig;
|
|
|
|
|
import org.wso2.carbon.device.mgt.common.DeviceStatusTaskPluginConfig;
|
|
|
|
|
import org.wso2.carbon.device.mgt.common.ProvisioningConfig;
|
|
|
|
|
import org.wso2.carbon.device.mgt.common.app.mgt.Application;
|
|
|
|
|
import org.wso2.carbon.device.mgt.common.app.mgt.ApplicationManagementException;
|
|
|
|
|
import org.wso2.carbon.device.mgt.common.app.mgt.ApplicationManager;
|
|
|
|
|
import org.wso2.carbon.device.mgt.common.operation.mgt.Operation;
|
|
|
|
|
import org.wso2.carbon.device.mgt.common.policy.mgt.PolicyMonitoringManager;
|
|
|
|
|
import org.wso2.carbon.device.mgt.common.pull.notification.PullNotificationSubscriber;
|
|
|
|
|
import org.wso2.carbon.device.mgt.common.push.notification.PushNotificationConfig;
|
|
|
|
|
import org.wso2.carbon.device.mgt.common.spi.DeviceManagementService;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
public class ConnectedCupManagerService implements DeviceManagementService {
|
|
|
|
|
private DeviceManager deviceManager;
|
|
|
|
|
|
|
|
|
@ -52,7 +47,7 @@ public class ConnectedCupManagerService implements DeviceManagementService {
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public void init() throws DeviceManagementException {
|
|
|
|
|
this.deviceManager=new ConnectedCupManager();
|
|
|
|
|
this.deviceManager = new ConnectedCupManager();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@ -89,4 +84,9 @@ public class ConnectedCupManagerService implements DeviceManagementService {
|
|
|
|
|
public InitialOperationConfig getInitialOperationConfig() {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public PullNotificationSubscriber getPullNotificationSubscriber() {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|