2015-12-20 22:32:25 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
|
2017-08-20 09:56:41 +02:00
|
|
|
Copyright (c) 2015-2017 by the respective copyright holders.
|
2015-12-20 22:32:25 +01:00
|
|
|
|
|
|
|
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" immediate="true" name="org.openhab.core.compat1x.eventbridge">
|
|
|
|
<implementation class="org.openhab.core.events.internal.EventBridge"/>
|
|
|
|
<service>
|
|
|
|
<provide interface="org.osgi.service.event.EventHandler"/>
|
|
|
|
<provide interface="org.eclipse.smarthome.core.events.EventSubscriber"/>
|
|
|
|
</service>
|
|
|
|
<reference bind="setEventAdmin" cardinality="1..1" interface="org.osgi.service.event.EventAdmin" name="EventAdmin" policy="dynamic" unbind="unsetEventAdmin"/>
|
|
|
|
<property name="event.topics" type="String" value="smarthome/*"/>
|
|
|
|
<reference bind="setEventPublisher" cardinality="1..1" interface="org.eclipse.smarthome.core.events.EventPublisher" name="EventPublisher" policy="static" unbind="unsetEventPublisher"/>
|
|
|
|
</scr:component>
|