BUG-8327: GlobalBundleScanningSchemaServiceImpl should be a proxy
[controller.git] / opendaylight / md-sal / sal-schema-service / src / main / resources / org / opendaylight / blueprint / sal-schema-service.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
3            xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
4            xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0">
5     <!-- MD-SAL's DOMSchemaService -->
6     <odl:static-reference id="domSchemaService" interface="org.opendaylight.mdsal.dom.api.DOMSchemaService"/>
7
8     <!-- Schema Service -->
9     <bean id="schemaService" class="org.opendaylight.controller.sal.schema.service.impl.GlobalBundleScanningSchemaServiceImpl"
10         factory-method="createInstance">
11         <argument ref="domSchemaService"/>
12     </bean>
13
14     <service ref="schemaService" odl:type="default">
15         <interfaces>
16             <value>org.opendaylight.controller.sal.core.api.model.SchemaService</value>
17             <value>org.opendaylight.controller.sal.core.api.model.YangTextSourceProvider</value>
18         </interfaces>
19     </service>
20 </blueprint>