websocketmanager now listens on a custom jetty port
[ccsdk/features.git] / sdnr / wt / websocketmanager / 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 features
5   ~ ================================================================================
6   ~ Copyright (C) 2019 highstreet technologies GmbH Intellectual Property.
7   ~ All rights reserved.
8   ~ ================================================================================
9   ~ Update Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
10   ~ ================================================================================
11   ~ Licensed under the Apache License, Version 2.0 (the "License");
12   ~ you may not use this file except in compliance with the License.
13   ~ You may obtain a copy of the License at
14   ~
15   ~     http://www.apache.org/licenses/LICENSE-2.0
16   ~
17   ~ Unless required by applicable law or agreed to in writing, software
18   ~ distributed under the License is distributed on an "AS IS" BASIS,
19   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20   ~ See the License for the specific language governing permissions and
21   ~ limitations under the License.
22   ~ ============LICENSE_END=======================================================
23   ~
24   -->
25
26 <blueprint xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
27            xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
28            odl:use-default-for-reference-types="true">
29
30
31     <!-- <bean id="wsServlet"
32           class="org.onap.ccsdk.features.sdnr.wt.websocketmanager.WebSocketManager">
33     </bean> -->
34     <!-- <service interface="javax.servlet.http.HttpServlet" ref="wsServlet">
35         <service-properties>
36             <entry key="alias" value="/websocket"/>
37         </service-properties>
38     </service> -->
39     <bean id="provider" class="org.onap.ccsdk.features.sdnr.wt.websocketmanager.WebSocketManagerProvider" init-method="init" destroy-method="close">
40         <!--  <property name="wsServlet" ref="wsServlet"/> -->
41     </bean>
42
43     <!-- <reference id="onBindService" availability="mandatory" activation="eager" interface="org.osgi.service.http.HttpService">
44         <reference-listener ref="provider" bind-method="onBindService" unbind-method="onUnbindService"/>
45     </reference> -->
46
47     <service id="registerWebsocketmanagerService"
48              interface="org.onap.ccsdk.features.sdnr.wt.websocketmanager.model.WebsocketManagerService"
49              ref="provider"/>
50
51 </blueprint>