| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Copyright (c) 2014, 2016 Orange. |
| All rights reserved. This program and the accompanying materials |
| are made available under the terms of the Eclipse Public License 2.0 |
| which accompanies this distribution, and is available at |
| https://www.eclipse.org/legal/epl-2.0/ |
| --> |
| |
| <scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.2.0" |
| name="EnOceanActivator" immediate="true"> |
| |
| <implementation class="org.onem2m.home.enocean.Activator" /> |
| <service> |
| <provide interface="org.osgi.service.event.EventHandler" /> |
| </service> |
| <property name="event.topics" value="org/osgi/service/enocean/EnOceanEvent/MESSAGE_RECEIVED" /> |
| |
| <reference name="log" cardinality="1..1" interface="org.osgi.service.log.LogService" |
| bind="setLog" unbind="unsetLog" /> |
| |
| <reference name="enOceanDevice" interface="org.osgi.service.enocean.EnOceanDevice" |
| cardinality="0..n" policy="dynamic" |
| bind="setEnOceanDevice" unbind="unsetEnOceanDevice" /> |
| |
| </scr:component> |