Bump MDSAL to 4.0.0
[bgpcep.git] / pcep / topology / topology-stats / src / main / resources / OSGI-INF / blueprint / pcep-stats.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
10 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
11            xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0">
12     <reference id="dataBroker" interface="org.opendaylight.mdsal.binding.api.DataBroker"
13                odl:type="default"/>
14     <odl:clustered-app-config id="pcepStatsConfig"
15         binding-class="org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.odl.pcep.stats.provider.config.rev171113.PcepProvider"/>
16
17     <bean id="topologyStatsRpcService"
18           class="org.opendaylight.bgpcep.pcep.topology.stats.rpc.TopologyStatsRpcServiceImpl"
19           init-method="init" destroy-method="close">
20         <argument ref="dataBroker"/>
21     </bean>
22     <odl:rpc-implementation ref="topologyStatsRpcService"/>
23
24     <bean id="topologyStatsRegistry"
25           class="org.opendaylight.bgpcep.pcep.topology.stats.provider.TopologyStatsProviderImpl"
26           init-method="init" destroy-method="close">
27         <argument ref="dataBroker"/>
28         <argument>
29             <bean factory-ref="pcepStatsConfig" factory-method="getTimer"/>
30         </argument>
31     </bean>
32     <service ref="topologyStatsRegistry"
33              interface="org.opendaylight.bgpcep.pcep.topology.spi.stats.TopologySessionStatsRegistry"/>
34 </blueprint>