1 <?xml version="1.0" encoding="UTF-8"?>
3 ~ Copyright (c) 2016 Cisco Systems, Inc. and others. 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
10 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" 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" interface="org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer"/>
14 <bean id="bgpFileWatcher" class="org.opendaylight.protocol.bgp.config.loader.impl.BGPFileWatcher" destroy-method="close" />
16 <bean id="bgpConfigLoader" class="org.opendaylight.protocol.bgp.config.loader.impl.ConfigLoaderImpl" destroy-method="close">
18 <bean factory-ref="domSchemaService" factory-method="getGlobalContext"/>
20 <argument ref="mappingCodec"/>
22 <bean factory-ref="bgpFileWatcher" factory-method="getPathFile"/>
25 <bean factory-ref="bgpFileWatcher" factory-method="getWatchService"/>
29 <service ref="bgpConfigLoader" interface="org.opendaylight.protocol.bgp.config.loader.spi.ConfigLoader" odl:type="default"/>