Stubpce Update
[transportpce.git] / tests / stubpce / src / main / resources / org / opendaylight / blueprint / Stubpce-blueprint.xml
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->\r
3 <!--\r
4 Copyright © 2017 Orange and others. All rights reserved.\r
5 \r
6 This program and the accompanying materials are made available under the\r
7 terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
8 and is available at http://www.eclipse.org/legal/epl-v10.html\r
9 \r
10 Author: Martial Coulibaly <martial.coulibaly@gfi.com> on behalf of Orange\r
11 -->\r
12 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"\r
13   xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"\r
14   odl:use-default-for-reference-types="true">\r
15 \r
16   <reference id="rpcRegistry"\r
17              interface="org.opendaylight.controller.sal.binding.api.RpcProviderRegistry"/>\r
18 \r
19   <reference id="notificationPublishService"\r
20           interface="org.opendaylight.controller.md.sal.binding.api.NotificationPublishService"\r
21           odl:type="default" />\r
22 \r
23   <reference id="notificationService"\r
24              interface="org.opendaylight.controller.md.sal.binding.api.NotificationService"\r
25              odl:type="default" />\r
26 \r
27   <reference id="dataBroker" interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"\r
28              odl:type="default" />\r
29 \r
30   <bean id="provider"\r
31     class="org.opendaylight.transportpce.stubpce.impl.StubpceProvider"\r
32     init-method="init" destroy-method="close">\r
33     <argument ref="rpcRegistry" />\r
34     <argument ref="notificationPublishService" />\r
35     <argument ref="notificationService"/>\r
36     <argument ref="dataBroker" />\r
37   </bean>\r
38 \r
39   <bean id="injectxmlfile"\r
40     class="org.opendaylight.transportpce.stubpce.topology.Topology"\r
41     init-method="start">\r
42     <property name="bcontext" ref="blueprintBundleContext"/>\r
43   </bean>\r
44 \r
45 </blueprint>\r