Examples of URLEndpointsConfiguration


Examples of org.apache.axis2.transport.base.endpoint.URLEndpointsConfiguration

public class URLEndpointsConfigurationFactory {
    private static final Log log = LogFactory.getLog(URLEndpointsConfigurationFactory.class);

    public URLEndpointsConfiguration create(OMElement element) throws AxisFault {
        Iterator iterator = element.getChildrenWithName(new QName(URLEndpointsConfiguration.ENDPOINT));
        URLEndpointsConfiguration configuration = new URLEndpointsConfiguration();
        URLEndpointFactory fac = new URLEndpointFactory();
        while (iterator.hasNext()) {
            OMElement endpoint = (OMElement) iterator.next();

            URLEndpoint epr = fac.create(endpoint);
            configuration.addEndpoint(epr);
        }

        return configuration;
    }
View Full Code Here

Examples of org.apache.axis2.transport.base.endpoint.URLEndpointsConfiguration

        }
        OMElement element = OMXMLBuilderFactory.createOMBuilder(is).getDocumentElement();
        element.build();

        Iterator iterator = element.getChildrenWithName(new QName(URLEndpointsConfiguration.ENDPOINT));
        URLEndpointsConfiguration configuration = new URLEndpointsConfiguration();
        URLEndpointFactory fac = new URLEndpointFactory();
        while (iterator.hasNext()) {
            OMElement endpoint = (OMElement) iterator.next();

            URLEndpoint epr = fac.create(endpoint);
            configuration.addEndpoint(epr);
        }

        return configuration;
    }
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.