Examples of ParameterIncludeImpl


Examples of org.apache.axis2.description.ParameterIncludeImpl

     * @param jmsConFactory the JMS connection factory to which the parameters should be applied
     */
    public static void setConnectionFactoryParameters(
        Parameter param, JMSConnectionFactory jmsConFactory) {

        ParameterIncludeImpl pi = new ParameterIncludeImpl();
        try {
            pi.deserializeParameters((OMElement) param.getValue());
        } catch (AxisFault axisFault) {
            log.error("Error reading parameters for JMS connection factory" +
                jmsConFactory.getName(), axisFault);
        }

        Iterator params = pi.getParameters().iterator();
        while (params.hasNext()) {

            Parameter p = (Parameter) params.next();

            if (JMSConstants.CONFAC_TYPE.equals(p.getName())) {
View Full Code Here

Examples of org.apache.axis2.description.ParameterIncludeImpl

     * @param service the Axis Service
     * @return the name of the JMS destination
     */
    public static List<AMQPBinding> getBindingsForService(AxisService service) {
        Parameter bindingsParam = service.getParameter(AMQPConstants.BINDINGS_PARAM);
        ParameterIncludeImpl pi = new ParameterIncludeImpl();
        try {
            pi.deserializeParameters((OMElement) bindingsParam.getValue());
        } catch (AxisFault axisFault) {
            log.error("Error reading parameters for AMQP binding definitions" +
                    bindingsParam.getName(), axisFault);
        }

        Iterator params = pi.getParameters().iterator();
        ArrayList<AMQPBinding> list = new ArrayList<AMQPBinding>();
        if(params.hasNext())
        {
            while (params.hasNext())
            {
View Full Code Here

Examples of org.apache.axis2.description.ParameterIncludeImpl

        Iterator conIter = transprtIn.getParameters().iterator();

        while (conIter.hasNext()) {
            Parameter conParams = (Parameter) conIter.next();

            ParameterIncludeImpl pi = new ParameterIncludeImpl();
            AMQPConnection conDef = new AMQPConnection();
            try {
                pi.deserializeParameters((OMElement) conParams.getValue());
            } catch (AxisFault axisFault) {
                log.error("Error reading parameters for AMQP Connection definitions" +
                        conParams.getName(), axisFault);
            }
            conDef.setName((String)conParams.getValue());

            Iterator params = pi.getParameters().iterator();
            while (params.hasNext()) {

                Parameter p = (Parameter) params.next();

                if (AMQPConstants.CONNECTION_URL_PARAM.equals(p.getName())) {
View Full Code Here

Examples of org.apache.axis2.description.ParameterIncludeImpl

    ParameterInclude parameterimpl;

    // The initilization code will go here
    public void init(AxisConfiguration axisConfig) {
        parameterimpl = new ParameterIncludeImpl();
    }
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.