Split out AAAEncryptionServiceConfigurator
[aaa.git] / aaa-encrypt-service / impl / src / main / resources / OSGI-INF / blueprint / encryptservice.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   <reference id="dataBroker" interface="org.opendaylight.mdsal.binding.api.DataBroker"/>
5
6   <odl:clustered-app-config id="encryptConfig" default-config-file-name="aaa-encrypt-service-config.xml"
7         binding-class="org.opendaylight.yang.gen.v1.config.aaa.authn.encrypt.service.config.rev160915.AaaEncryptServiceConfig">
8   </odl:clustered-app-config>
9
10   <bean id="encryptServiceConfigurator" class="org.opendaylight.aaa.encrypt.impl.AAAEncryptionServiceConfigurator">
11     <argument ref="dataBroker"/>
12     <argument ref="encryptConfig"/>
13   </bean>
14
15   <bean id="encryptService" class="org.opendaylight.aaa.encrypt.impl.AAAEncryptionServiceImpl">
16     <argument ref="encryptServiceConfigurator"/>
17   </bean>
18   <service ref="encryptService" interface="org.opendaylight.aaa.encrypt.AAAEncryptionService"/>
19
20 </blueprint>