1 <?xml version="1.0" encoding="UTF-8"?>
3 Copyright (c) 2017 Inocybe Technologies Inc. and others. All rights reserved.
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
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">
13 <odl:clustered-app-config id="yanglibConfig"
14 binding-class="org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.yanglib.impl.rev141210.YanglibConfig"/>
16 <reference id="dataBroker" interface="org.opendaylight.mdsal.binding.api.DataBroker"/>
17 <reference id="webServer" interface="org.opendaylight.aaa.web.WebServer"/>
18 <reference id="webContextSecurer" interface="org.opendaylight.aaa.web.WebContextSecurer"/>
19 <reference id="servletSupport" interface="org.opendaylight.aaa.web.servlet.ServletSupport" />
20 <reference id="parserFactory" interface="org.opendaylight.yangtools.yang.model.parser.api.YangParserFactory" />
22 <bean id="yangLibProvider" class="org.opendaylight.yanglib.impl.YangLibProvider"
23 init-method="init" destroy-method="close">
24 <argument ref="yanglibConfig"/>
25 <argument ref="dataBroker"/>
26 <argument ref="parserFactory"/>
29 <bean id="yangLibRestApp" class="org.opendaylight.yanglib.impl.YangLibRestApp">
30 <argument ref="yangLibProvider"/>
33 <bean id="webInitializer" class="org.opendaylight.yanglib.impl.WebInitializer"
34 destroy-method="close">
35 <argument ref="webServer"/>
36 <argument ref="webContextSecurer"/>
37 <argument ref="servletSupport"/>
38 <argument ref="yangLibRestApp"/>