destroyInstance() WebSocketServer in two tests
[netconf.git] / netconf / mdsal-netconf-yang-library / src / main / resources / OSGI-INF / blueprint / mdsal-netconf-yang-library.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Copyright (c) 2016 Inocybe Technologies Inc. and others.  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 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
10            xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
11            odl:use-default-for-reference-types="true">
12
13     <reference id="dataBroker"
14                interface="org.opendaylight.mdsal.binding.api.DataBroker"
15                odl:type="default"/>
16     <reference id="schemaService"
17                interface="org.opendaylight.mdsal.dom.api.DOMSchemaService" />
18
19     <bean id="schemaServiceToMdsalWriter"
20           class="org.opendaylight.netconf.mdsal.yang.library.SchemaServiceToMdsalWriter"
21           init-method="start"
22           destroy-method="close">
23         <argument ref="schemaService" />
24         <argument ref="dataBroker" />
25     </bean>
26
27 </blueprint>