1 <?xml version="1.0" encoding="UTF-8"?>
3 ~ Copyright (c) 2017. AT&T Intellectual Property. All rights reserved.
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
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"/>
15 <bean id="filewatcher" class="org.opendaylight.bgpcep.config.loader.impl.FileWatcherImpl"
16 destroy-method="close"/>
18 <bean id="configLoader" class="org.opendaylight.bgpcep.config.loader.impl.ConfigLoaderImpl"
20 destroy-method="close">
22 <bean factory-ref="domSchemaService" factory-method="getGlobalContext"/>
24 <argument ref="mappingCodec"/>
25 <argument ref="filewatcher"/>
28 <service ref="configLoader" interface="org.opendaylight.bgpcep.config.loader.spi.ConfigLoader"/>