Examples of TransportService


Examples of org.wso2.carbon.core.transports.TransportService

   *
   * @param inParams TransportParameter
   * @throws Exception on error
   */
  public void updateGloballyDefinedInParameters(TransportParameter[] inParams) throws Exception {
    TransportService trpService = JMSServiceHolder.getInstance().getService();
        if (trpService.dependenciesAvailable(inParams)) {
            trpService.updateGlobalTransportParameters(inParams, true, getConfigContext());
        } else {
            log.warn("Initial factory class cannot be found");
        }
    }
View Full Code Here

Examples of org.wso2.carbon.core.transports.TransportService

            log.warn("Initial factory class cannot be found");
        }
    }

    public void updateGloballyDefinedOutParameters(TransportParameter[] outParams) throws Exception {
        TransportService trpService = JMSServiceHolder.getInstance().getService();
        if (outParams == null || trpService.dependenciesAvailable(outParams)) {
            trpService.updateGlobalTransportParameters(outParams, true, getConfigContext());
        } else {
            log.warn("Initial factory class cannot be found");
        }
    }
View Full Code Here

Examples of org.wso2.carbon.core.transports.TransportService

   * AxisConfiguration and will update the registry.
   *
   * @throws Exception on error
   */
  public void disableTransportListener() throws Exception {
    TransportService trpService = JMSServiceHolder.getInstance().getService();
        trpService.disableTransport(true, getAxisConfig());
  }
View Full Code Here

Examples of org.wso2.carbon.core.transports.TransportService

    TransportService trpService = JMSServiceHolder.getInstance().getService();
        trpService.disableTransport(true, getAxisConfig());
  }

    public void disableTransportSender() throws Exception {
        TransportService trpService = JMSServiceHolder.getInstance().getService();
        trpService.disableTransport(false, getAxisConfig());
    }
View Full Code Here

Examples of org.wso2.carbon.core.transports.TransportService

   * @throws Exception on error
   */
  public void updateServiceSpecificInParameters(String serviceName,
                                                  TransportParameter[] inParams) throws Exception {

        TransportService trpService = JMSServiceHolder.getInstance().getService();
        if (trpService.dependenciesAvailable(inParams)) {
            trpService.updateServiceLevelTransportParameters(serviceName, inParams,
                    true, getConfigContext());
        } else {
            log.warn("Initial factory class cannot be found");
        }
    }
View Full Code Here

Examples of org.wso2.carbon.core.transports.TransportService

   * @throws Exception on error
   */
    public void updateServiceSpecificOutParameters(String serviceName,
                                                   TransportParameter[] outParams) throws Exception {

        TransportService trpService = JMSServiceHolder.getInstance().getService();
        if (outParams == null || trpService.dependenciesAvailable(outParams)) {
            trpService.updateServiceLevelTransportParameters(serviceName, outParams,
                    false, getConfigContext());
        } else {
            log.warn("Initial factory class cannot be found");
        }
    }
View Full Code Here

Examples of org.wso2.carbon.core.transports.TransportService

            log.warn("Initial factory class cannot be found");
        }
    }

    public TransportParameter[] getGloballyDefinedInParameters() throws Exception {
        TransportService trpService = JMSServiceHolder.getInstance().getService();
        return trpService.getGlobalTransportParameters(true, getAxisConfig());
    }
View Full Code Here

Examples of org.wso2.carbon.core.transports.TransportService

        TransportService trpService = JMSServiceHolder.getInstance().getService();
        return trpService.getGlobalTransportParameters(true, getAxisConfig());
    }

    public TransportParameter[] getGloballyDefinedOutParameters() throws Exception {
        TransportService trpService = JMSServiceHolder.getInstance().getService();
        return trpService.getGlobalTransportParameters(false, getAxisConfig());
    }
View Full Code Here

Examples of org.wso2.carbon.core.transports.TransportService

     * @param listener true for JMS listener and false for JMS sender
     * @throws Exception on error
     */
    public void addConnectionFactory(TransportParameter parameter, String service,
                                       boolean listener) throws Exception {
        TransportService trpService = JMSServiceHolder.getInstance().getService();
        trpService.addTransportParameter(parameter, listener, getConfigContext());
    }
View Full Code Here

Examples of org.wso2.carbon.core.transports.TransportService

     * @param listener true for JMS listener and false for JMS sender
     * @throws Exception on error
     */
    public void removeConnectionFactory(String factoryName, String service,
                                        boolean listener) throws Exception {
        TransportService trpService = JMSServiceHolder.getInstance().getService();
        trpService.removeTransportParameter(factoryName, listener, getConfigContext());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.