Add blueprint wiring to opendaylight-archetype
[controller.git] / opendaylight / archetypes / opendaylight-startup / src / main / resources / archetype-resources / impl / src / main / resources / org / opendaylight / blueprint / impl-blueprint.xml
1 #set( $symbol_pound = '#' )
2 #set( $symbol_dollar = '$' )
3 #set( $symbol_escape = '\' )
4 <?xml version="1.0" encoding="UTF-8"?>
5 <!-- vi: set et smarttab sw=4 tabstop=4: -->
6 <!--
7 Copyright © ${copyrightYear} ${copyright} and others. All rights reserved.
8
9 This program and the accompanying materials are made available under the
10 terms of the Eclipse Public License v1.0 which accompanies this distribution,
11 and is available at http://www.eclipse.org/legal/epl-v10.html
12 -->
13 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
14   xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
15   odl:use-default-for-reference-types="true">
16
17   <reference id="dataBroker"
18     interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"
19     odl:type="default" />
20
21   <bean id="provider"
22     class="${package}.impl.${classPrefix}Provider"
23     init-method="init" destroy-method="close">
24     <argument ref="dataBroker" />
25   </bean>
26
27 </blueprint>