Bump versions by x.y.(z+1)
[bgpcep.git] / config-loader / config-loader-impl / src / main / resources / OSGI-INF / blueprint / config-loader-impl.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ Copyright (c) 2017. AT&T Intellectual Property. All rights reserved.
4   ~
5   ~  This program and the accompanying materials are made available under the
6   ~  terms of the Eclipse Public License v1.0 which accompanies this distribution,
7   ~  and is available at http://www.eclipse.org/legal/epl-v10.html
8   -->
9 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
10            xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0">
11     <odl:static-reference id="domSchemaService" interface="org.opendaylight.mdsal.dom.api.DOMSchemaService"/>
12     <odl:static-reference id="mappingCodec"
13                           interface="org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer"/>
14
15     <bean id="filewatcher" class="org.opendaylight.bgpcep.config.loader.impl.FileWatcherImpl"
16           destroy-method="close"/>
17
18     <bean id="configLoader" class="org.opendaylight.bgpcep.config.loader.impl.ConfigLoaderImpl"
19           init-method="init"
20           destroy-method="close">
21         <argument>
22             <bean factory-ref="domSchemaService" factory-method="getGlobalContext"/>
23         </argument>
24         <argument ref="mappingCodec"/>
25         <argument ref="filewatcher"/>
26     </bean>
27
28     <service ref="configLoader" interface="org.opendaylight.bgpcep.config.loader.spi.ConfigLoader"/>
29 </blueprint>