disabled ui and capp deployers

revert-70aa11f8
ayyoob 8 years ago
parent b20a2e0997
commit 09a148d476

@ -119,7 +119,7 @@
org.apache.axis2.engine org.apache.axis2.engine
</Import-Package> </Import-Package>
<Axis2Deployer>DeviceTypeDeployer</Axis2Deployer> <Axis2Deployer>DeviceTypeDeployer</Axis2Deployer>
<WSO2-Application-Deployer>Device Type Capp Deployer</WSO2-Application-Deployer> <!--<WSO2-Application-Deployer>Device Type Capp Deployer</WSO2-Application-Deployer>-->
</instructions> </instructions>
</configuration> </configuration>
</plugin> </plugin>

@ -44,7 +44,7 @@ import java.util.List;
public class DeviceTypeCAppDeployer implements AppDeploymentHandler { public class DeviceTypeCAppDeployer implements AppDeploymentHandler {
private static Log log = LogFactory.getLog(DeviceTypePluginDeployer.class); private static Log log = LogFactory.getLog(DeviceTypeCAppDeployer.class);
private List<Artifact> deviceTypePlugins = new ArrayList<Artifact>(); private List<Artifact> deviceTypePlugins = new ArrayList<Artifact>();
private List<Artifact> deviceTypeUIs = new ArrayList<Artifact>(); private List<Artifact> deviceTypeUIs = new ArrayList<Artifact>();

@ -47,7 +47,7 @@ public class DeviceTypeManagementServiceComponent {
if (log.isDebugEnabled()) { if (log.isDebugEnabled()) {
log.debug("Activating DeviceType Deployer Service Component"); log.debug("Activating DeviceType Deployer Service Component");
} }
ctx.getBundleContext().registerService(AppDeploymentHandler.class.getName(), new DeviceTypeCAppDeployer(), null); // ctx.getBundleContext().registerService(AppDeploymentHandler.class.getName(), new DeviceTypeCAppDeployer(), null);
DeviceTypeManagementDataHolder.getInstance().setBundleContext(ctx.getBundleContext()); DeviceTypeManagementDataHolder.getInstance().setBundleContext(ctx.getBundleContext());
} }

@ -19,9 +19,9 @@
<extension>xml</extension> <extension>xml</extension>
<class>org.wso2.carbon.device.mgt.extensions.device.type.deployer.DeviceTypePluginDeployer</class> <class>org.wso2.carbon.device.mgt.extensions.device.type.deployer.DeviceTypePluginDeployer</class>
</deployer> </deployer>
<deployer> <!--<deployer>-->
<directory>devicetypes-ui</directory> <!--<directory>devicetypes-ui</directory>-->
<class>org.wso2.carbon.device.mgt.extensions.device.type.deployer.DeviceTypeUIDeployer</class> <!--<class>org.wso2.carbon.device.mgt.extensions.device.type.deployer.DeviceTypeUIDeployer</class>-->
</deployer> <!--</deployer>-->
</deployers> </deployers>
</component> </component>

Loading…
Cancel
Save