openhab-core/bundles/org.openhab.core.karaf/OSGI-INF/featureinstaller.xml
Kai Kreuzer a1bda50055 registered feature installer as a service so that it appears in the Paper UI
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2016-04-14 18:03:36 +02:00

23 lines
1.2 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.1.0" configuration-policy="require" 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"/>
<property name="service.pid" type="String" value="org.openhab.addons"/>
<property name="service.config.description.uri" type="String" value="system:addons"/>
<property name="service.config.label" type="String" value="Package"/>
<property name="service.config.category" type="String" value="system"/>
<service>
<provide interface="org.openhab.core.karaf.internal.FeatureInstaller"/>
</service>>
</scr:component>