public class TransportStore extends Object
Modifier and Type | Method and Description |
---|---|
void |
addTransport(String name,
org.wso2.carbon.core.transports.TransportService transportService,
org.apache.axis2.engine.AxisConfiguration axisConfig)
Store corresponding transport information to facilitate management through the management
console.
|
Map<String,org.wso2.carbon.core.transports.TransportService> |
getAvailableTransports()
Get the set of available transports in a map
|
static TransportStore |
getInstance() |
org.wso2.carbon.core.transports.TransportService |
getTransport(String protocol) |
void |
removeTransport(String name) |
public static TransportStore getInstance()
public void addTransport(String name, org.wso2.carbon.core.transports.TransportService transportService, org.apache.axis2.engine.AxisConfiguration axisConfig)
name
- Name of the transport to be addedtransportService
- TransportServiceaxisConfig
- AxisConfiguration of the super tenantpublic void removeTransport(String name)
public Map<String,org.wso2.carbon.core.transports.TransportService> getAvailableTransports()
public org.wso2.carbon.core.transports.TransportService getTransport(String protocol)
protocol
- name of the transportCopyright © 2017 WSO2. All rights reserved.