openhab-core/bundles/org.openhab.core.karaf/OSGI-INF/featureinstaller.xml
Kai Kreuzer 138d73533e Feature installation improvements (#99)
- switched to Karaf 4.0.8
- used bulk feature installation
- synchronised methods to avoid concurrent operations
- fixed issue where dashboard bundle might bind the addons configuration

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-12-22 00:05:12 +01:00

26 lines
1.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2015-2016 by the respective copyright holders.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
-->
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.2.0" configuration-policy="optional" immediate="true" modified="modified" name="org.openhab.addons">
<implementation class="org.openhab.core.karaf.internal.FeatureInstaller"/>
<reference bind="setFeaturesService" cardinality="1..1" interface="org.apache.karaf.features.FeaturesService" name="FeaturesService" policy="static" unbind="unsetFeaturesService"/>
<reference bind="setConfigurationAdmin" cardinality="1..1" interface="org.osgi.service.cm.ConfigurationAdmin" name="ConfigurationAdmin" policy="static" unbind="unsetConfigurationAdmin"/>
<property name="service.config.description.uri" type="String" value="system:addons"/>
<property name="service.config.label" type="String" value="Extension Management"/>
<property name="service.config.category" type="String" value="system"/>
<property name="service.pid" type="String" value="org.openhab.addons"/>
<service>
<provide interface="org.openhab.core.karaf.internal.FeatureInstaller"/>
<provide interface="org.osgi.service.cm.ConfigurationListener"/>
</service>
<reference bind="setEventPublisher" cardinality="1..1" interface="org.eclipse.smarthome.core.events.EventPublisher" name="EventPublisher" policy="static" unbind="unsetEventPublisher"/>
</scr:component>