f365c1825f88247e472d9aebe7dbcf7c3b631d57
[netconf.git] / restconf / sal-rest-docgen / src / main / resources / org / opendaylight / blueprint / blueprint.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4 Copyright © 2017 Inocybe Technologies and others. All rights reserved.
5
6 This program and the accompanying materials are made available under the
7 terms of the Eclipse Public License v1.0 which accompanies this distribution,
8 and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
11            xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
12            odl:use-default-for-reference-types="true">
13
14     <reference id="schemaService" interface="org.opendaylight.controller.sal.core.api.model.SchemaService"/>
15     <reference id="domMountPointService" interface="org.opendaylight.controller.md.sal.dom.api.DOMMountPointService"/>
16     <reference id="webServer" interface="org.opendaylight.aaa.web.WebServer"/>
17     <reference id="webContextSecurer" interface="org.opendaylight.aaa.web.WebContextSecurer"/>
18
19     <bean id="mountPointDraft02" class="org.opendaylight.netconf.sal.rest.doc.impl.MountPointSwaggerGeneratorDraft02"
20             destroy-method="close">
21         <argument ref="schemaService" />
22         <argument ref="domMountPointService" />
23     </bean>
24
25     <bean id="mountPointRFC8040" class="org.opendaylight.netconf.sal.rest.doc.impl.MountPointSwaggerGeneratorRFC8040"
26             destroy-method="close">
27         <argument ref="schemaService" />
28         <argument ref="domMountPointService" />
29     </bean>
30
31     <bean id="apiDocDraftO2" class="org.opendaylight.netconf.sal.rest.doc.impl.ApiDocGeneratorDraftO2">
32         <argument ref="schemaService" />
33     </bean>
34
35     <bean id="apiDocRFC8040" class="org.opendaylight.netconf.sal.rest.doc.impl.ApiDocGeneratorRFC8040">
36         <argument ref="schemaService" />
37     </bean>
38
39     <bean id="apiDocService" class="org.opendaylight.netconf.sal.rest.doc.impl.ApiDocServiceImpl">
40         <argument ref="mountPointDraft02" />
41         <argument ref="mountPointRFC8040" />
42         <argument ref="apiDocDraftO2" />
43         <argument ref="apiDocRFC8040" />
44     </bean>
45
46     <bean id="apiDocApplication" class="org.opendaylight.netconf.sal.rest.doc.jaxrs.ApiDocApplication">
47         <argument ref="apiDocService" />
48     </bean>
49
50     <bean id="webInitializer" class="org.opendaylight.netconf.sal.rest.doc.jaxrs.WebInitializer"
51             destroy-method="close">
52         <argument ref="webServer"/>
53         <argument ref="webContextSecurer"/>
54         <argument ref="apiDocApplication"/>
55   </bean>
56 </blueprint>