Class TransportStore


  • public class TransportStore
    extends Object
    Whenever a transport specific bundle drops in, TransportListener will load corresponding attributes in to the TransportStore. We only maintain a single instance of the TransportStore.
    • Method Detail

      • addTransport

        public 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.
        Parameters:
        name - Name of the transport to be added
        transportService - TransportService
        axisConfig - AxisConfiguration of the super tenant
      • removeTransport

        public void removeTransport​(String name)
      • getAvailableTransports

        public Map<String,​org.wso2.carbon.core.transports.TransportService> getAvailableTransports()
        Get the set of available transports in a map
        Returns:
        a map of transports
      • getTransport

        public org.wso2.carbon.core.transports.TransportService getTransport​(String protocol)
        Parameters:
        protocol - name of the transport
        Returns:
        a TransportInfo object for the specified transoport