aboutsummaryrefslogtreecommitdiffstats
path: root/sli/provider/src/main/resources/org/opendaylight/blueprint/sli-blueprint.xml
blob: fb3ab9a0393b6b200b8b303b61791b9b95fe0bb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
           xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
           odl:use-default-for-reference-types="true">

    <bean id="propProvider" class="org.onap.ccsdk.sli.core.sli.provider.SvcLogicPropertiesProviderImpl" />
    <reference id="dblibService" interface="org.onap.ccsdk.sli.core.dblib.DbLibService" />
    <bean id="svcLogicClassResolver" class="org.onap.ccsdk.sli.core.sli.provider.SvcLogicClassResolver" />

    <bean id="svcLogicService" class="org.onap.ccsdk.sli.core.sli.provider.SvcLogicServiceImpl">
        <argument ref="propProvider" />
        <argument ref="dblibService" />
        <argument ref="svcLogicClassResolver" />
    </bean>

    <service ref="svcLogicService">
        <interfaces>
            <value>org.onap.ccsdk.sli.core.sli.provider.SvcLogicService</value>
        </interfaces>
    </service>

    <bean id="fileRecorder" class="org.onap.ccsdk.sli.core.sli.recording.FileRecorder" />
    <!-- Implementation name was chosen over interface name due to the fact that this Service
         was previously registered using the implementation name rather than the interface name.
         To ensure backwards compatibility with abstractions polling the Service Registry for the
         fileRecorder, the implementation name was chosen here. -->
    <service ref="fileRecorder" interface="org.onap.ccsdk.sli.core.sli.recording.FileRecorder" />

    <bean id="slf4jRecorder" class="org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder" />
    <!-- Implementation name was chosen over interface name due to the fact that this Service
         was previously registered using the implementation name rather than the interface name.
         To ensure backwards compatibility with abstractions polling the Service Registry for the
         slf4jRecorder, the implementation name was chosen here. -->
    <service ref="slf4jRecorder" interface="org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder" />

</blueprint>