public class PersistenceUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
WEBSOCKET_USE_PORT_OFFSET |
Constructor and Description |
---|
PersistenceUtils() |
Modifier and Type | Method and Description |
---|---|
static org.apache.axiom.om.OMElement |
convertEndpointInfoToOM(Map<Integer,List<InboundEndpointInfoDTO>> endpointInfo,
Map<String,Set<String>> endpointPollingInfo)
Convert EndpointInfo to a OMElement
|
static Map<Integer,List<InboundEndpointInfoDTO>> |
convertOMToEndpointListeningInfo(org.apache.axiom.om.OMElement endpointInfoOM)
Create EndpointInfo from OMElement
|
static Map<String,Set<String>> |
convertOMToEndpointPollingInfo(org.apache.axiom.om.OMElement endpointInfoOM)
Create EndpointInfo from OMElement
|
static int |
getPortOffset(Properties properties)
used to get the port offset value of server according to inbound properties
|
public static final String WEBSOCKET_USE_PORT_OFFSET
public static org.apache.axiom.om.OMElement convertEndpointInfoToOM(Map<Integer,List<InboundEndpointInfoDTO>> endpointInfo, Map<String,Set<String>> endpointPollingInfo)
endpointInfo
- tenant data mappublic static Map<Integer,List<InboundEndpointInfoDTO>> convertOMToEndpointListeningInfo(org.apache.axiom.om.OMElement endpointInfoOM)
endpointInfoOM
- OMElement containing endpoint informationpublic static Map<String,Set<String>> convertOMToEndpointPollingInfo(org.apache.axiom.om.OMElement endpointInfoOM)
endpointInfoOM
- OMElement containing endpoint informationpublic static int getPortOffset(Properties properties)
properties
- inbound propertiesCopyright © 2019 WSO2. All rights reserved.