forked from community/device-mgt-plugins
parent
00feadac97
commit
e66311b844
@ -0,0 +1,34 @@
|
||||
/*
|
||||
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy
|
||||
* of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software distributed
|
||||
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations under the License.
|
||||
*/
|
||||
package org.wso2.carbon.device.mgt.output.adapter.mqtt.internal;
|
||||
|
||||
import org.wso2.carbon.identity.jwt.client.extension.service.JWTClientManagerService;
|
||||
|
||||
/**
|
||||
* common place to hold some OSGI service references.
|
||||
*/
|
||||
public final class OutputAdapterServiceDataHolder {
|
||||
|
||||
private static JWTClientManagerService jwtClientManagerService;
|
||||
|
||||
public static JWTClientManagerService getJwtClientManagerService() {
|
||||
return jwtClientManagerService;
|
||||
}
|
||||
|
||||
public static void setJwtClientManagerService(
|
||||
JWTClientManagerService jwtClientManagerService) {
|
||||
OutputAdapterServiceDataHolder.jwtClientManagerService = jwtClientManagerService;
|
||||
}
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
||||
~
|
||||
~ WSO2 Inc. licenses this file to you under the Apache License,
|
||||
~ Version 2.0 (the "License"); you may not use this file except
|
||||
~ in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing,
|
||||
~ software distributed under the License is distributed on an
|
||||
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
~ KIND, either express or implied. See the License for the
|
||||
~ specific language governing permissions and limitations
|
||||
~ under the License.
|
||||
-->
|
||||
<DeviceManagementConfiguration>
|
||||
<EventListenerConfiguration>
|
||||
<!--MQTT Config-->
|
||||
<EventListenerProvider>MQTT</EventListenerProvider>
|
||||
<Properties>
|
||||
<Property Name="mqttAdapterName">virtualfirealarm.mqtt.adapter</Property>
|
||||
<Property Name="username">admin</Property>
|
||||
<Property Name="password">admin</Property>
|
||||
<Property Name="qos">0</Property>
|
||||
<Property Name="scopes"/>
|
||||
<Property Name="clearSession">true</Property>
|
||||
</Properties>
|
||||
<!--XMPP Config-->
|
||||
<!--PushNotificationProvider>XMPP</PushNotificationProvider>
|
||||
<Properties>
|
||||
<Property Name="xmpp.adapter.name">virtualfirealarm.xmpp.adapter</Property>
|
||||
<Property Name="host">localhost</Property>
|
||||
<Property Name="port">5222</Property>
|
||||
<Property Name="username">admin</Property>
|
||||
<Property Name="password">admin</Property>
|
||||
<Property Name="jid">admin@localhost</Property>
|
||||
<Property Name="server.name">localhost</Property>
|
||||
</Properties-->
|
||||
</EventListenerConfiguration>
|
||||
</DeviceManagementConfiguration>
|
Loading…
Reference in new issue