mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-11 13:41:53 +01:00
a5b86617a6
Signed-off-by: Kai Kreuzer <kai@openhab.org>
22 lines
1.1 KiB
XML
22 lines
1.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
|
|
Copyright (c) 2015-2015 Kai Kreuzer and others.
|
|
|
|
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>
|