destroyInstance() WebSocketServer in two tests
[netconf.git] / netconf / mdsal-netconf-connector / src / main / resources / OSGI-INF / blueprint / mdsal-netconf-connector.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="domDataBroker" interface="org.opendaylight.mdsal.dom.api.DOMDataBroker"/>
14     <reference id="domRpcService" interface="org.opendaylight.mdsal.dom.api.DOMRpcService"/>
15     <reference id="schemaService"
16                interface="org.opendaylight.mdsal.dom.api.DOMSchemaService"/>
17     <reference id="netconfOperationServiceFactoryListener"
18                interface="org.opendaylight.netconf.mapping.api.NetconfOperationServiceFactoryListener"
19                odl:type="mapper-aggregator-registry"/>
20
21     <bean id="mdsalNetconfOperationServiceFactory"
22           class="org.opendaylight.netconf.mdsal.connector.MdsalNetconfOperationServiceFactory"
23           destroy-method="close">
24         <argument ref="schemaService"/>
25         <argument ref="netconfOperationServiceFactoryListener"/>
26         <argument ref="domDataBroker"/>
27         <argument ref="domRpcService"/>
28     </bean>
29     <service ref="mdsalNetconfOperationServiceFactory"
30              interface="org.opendaylight.netconf.mapping.api.NetconfOperationServiceFactory"
31              odl:type="mdsal-netconf-connector"/>
32
33 </blueprint>