Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

made the KNX binding work by activating all components at bundle startup #3839

Merged
merged 1 commit into from
Jan 18, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions bundles/binding/org.openhab.binding.knx/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ Service-Component: OSGI-INF/knxconnection.xml, OSGI-INF/knxbinding.xml, OSGI-INF
Bundle-ClassPath: lib/calimero-rxtx-2.0a3.jar,
lib/calimero-core-2.2.0-SNAPSHOT.jar,
.
Export-Package: org.openhab.binding.knx.config,tuwien.auto.calimero,tu
wien.auto.calimero.datapoint,tuwien.auto.calimero.exception,tuwien.au
to.calimero.link
Export-Package: org.openhab.binding.knx.config,
tuwien.auto.calimero,
tuwien.auto.calimero.datapoint,
tuwien.auto.calimero.exception,
tuwien.auto.calimero.link,
tuwien.auto.calimero.process

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
http://www.eclipse.org/legal/epl-v10.html

-->
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" activate="activate" deactivate="deactivate" name="org.openhab.binding.knx">
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" activate="activate" deactivate="deactivate" immediate="true" name="org.openhab.binding.knx">
<implementation class="org.openhab.binding.knx.internal.bus.KNXBinding"/>
<reference bind="addBindingProvider" cardinality="1..n" interface="org.openhab.binding.knx.config.KNXBindingProvider" name="KNXBindingProvider" policy="dynamic" unbind="removeBindingProvider"/>
<reference bind="addKNXTypeMapper" cardinality="1..n" interface="org.openhab.binding.knx.config.KNXTypeMapper" name="KNXTypeMapper" policy="dynamic" unbind="removeKNXTypeMapper"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
http://www.eclipse.org/legal/epl-v10.html

-->
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" name="org.openhab.binding.knx.config">
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" immediate="true" name="org.openhab.binding.knx.config">
<implementation class="org.openhab.binding.knx.internal.connection.KNXConnection"/>
<service>
<provide interface="org.osgi.service.cm.ManagedService"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
http://www.eclipse.org/legal/epl-v10.html

-->
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" name="org.openhab.binding.knx.typemapper">
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" enabled="true" immediate="true" name="org.openhab.binding.knx.typemapper">
<implementation class="org.openhab.binding.knx.internal.dpt.KNXCoreTypeMapper"/>
<service>
<provide interface="org.openhab.binding.knx.config.KNXTypeMapper"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
http://www.eclipse.org/legal/epl-v10.html

-->
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" name="org.openhab.binding.knx.genericbindingprovider">
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" immediate="true" name="org.openhab.binding.knx.genericbindingprovider">
<implementation class="org.openhab.binding.knx.internal.config.KNXGenericBindingProvider"/>
<service>
<provide interface="org.openhab.model.item.binding.BindingConfigReader"/>
Expand Down