From 2cef474281e346f0093e4fb5f9cb6df2f7728820 Mon Sep 17 00:00:00 2001 From: prabathabey Date: Wed, 25 Mar 2015 20:29:23 +0530 Subject: [PATCH] Adding deactivate method into the service component --- .../mgt/core/internal/DeviceManagementServiceComponent.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/internal/DeviceManagementServiceComponent.java b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/internal/DeviceManagementServiceComponent.java index 1a83004c29..19b8e614c3 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/internal/DeviceManagementServiceComponent.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/internal/DeviceManagementServiceComponent.java @@ -132,6 +132,10 @@ public class DeviceManagementServiceComponent { } } + protected void deactivate(ComponentContext componentContext) { + //do nothing + } + private void registerServices(ComponentContext componentContext) { if (log.isDebugEnabled()) { log.debug("Registering OSGi service DeviceManagementServiceImpl");