Merge "SDN-R apigateway add junit test"
[ccsdk/features.git] / sdnr / wt / websocketmanager2 / provider / src / main / resources / org / opendaylight / blueprint / impl-blueprint.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START========================================================================
4   ONAP : ccsdk feature sdnr wt
5   =================================================================================================
6   Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
7   =================================================================================================
8   Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
9   in compliance with the License. You may obtain a copy of the License at
10
11   http://www.apache.org/licenses/LICENSE-2.0
12
13   Unless required by applicable law or agreed to in writing, software distributed under the License
14   is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
15   or implied. See the License for the specific language governing permissions and limitations under
16   the License.
17   ============LICENSE_END==========================================================================
18 -->
19 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
20   xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
21   odl:use-default-for-reference-types="true">
22
23   <reference id="rpcProviderRegistry" interface="org.opendaylight.mdsal.binding.api.RpcProviderService" odl:type="default" />
24
25   <bean id="provider" class="org.onap.ccsdk.features.sdnr.wt.websocketmanager2.WebSocketManagerProvider" init-method="init" destroy-method="close">
26     <property name="rpcProviderRegistry" ref="rpcProviderRegistry" />
27   </bean>
28
29   <reference id="onBindService" availability="mandatory" activation="eager" interface="org.osgi.service.http.HttpService">
30     <reference-listener ref="provider" bind-method="onBindService" unbind-method="onUnbindService" />
31   </reference>
32
33 </blueprint>