Skip to content

Commit

Permalink
fixed configuration file loading
Browse files Browse the repository at this point in the history
  • Loading branch information
teichsta committed Nov 29, 2014
1 parent e89b59e commit 925d605
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,12 @@
-->
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" activate="activate" deactivate="deactivate" name="org.openhab.config.core">
<implementation class="org.openhab.config.core.ConfigDispatcher"/>

<property name="service.pid" type="String" value="org.openhab.config.dispatcher"/>

<implementation class="org.openhab.config.core.ConfigDispatcher"/>

<service>
<provide interface="org.osgi.service.cm.ManagedService" />
</service>

<property name="service.pid" type="String" value="org.openhab.mainconfig"/>

</scr:component>
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
* @author Thomas.Eichstaedt-Engelen
* @since 0.3.0
*/
public class ConfigDispatcher {
public class ConfigDispatcher implements ManagedService {

private static final Logger logger = LoggerFactory.getLogger(ConfigDispatcher.class);

Expand Down

0 comments on commit 925d605

Please sign in to comment.