Examples of EndpointDO


Examples of org.wso2.carbon.endpoint.common.to.EndpointDO

            if (fgName != null) {
                List<EndpointDO> epList = failoverInfoHolder.get(fgName);
                if (epList != null) {
                    Iterator<EndpointDO> fgItr = epList.iterator();
                    while (fgItr.hasNext()) {
                        EndpointDO checkEp = fgItr.next();
                        if ((checkEp.getEndPointName().equalsIgnoreCase(epName)) && (checkEp.getEndPointType().equalsIgnoreCase(epType)))
                            return true;
                    }
                }
            } else {
                Iterator<EndpointDO> fgItr = failoverGroup.iterator();
View Full Code Here

Examples of org.wso2.carbon.endpoint.common.to.EndpointDO

     * @param epType endpoint type
     */
    public void deleteEndpoints(String epName, String epType) {
        if (epType.equalsIgnoreCase("Add")) {
            Iterator<EndpointDO> epItr = addressEndpoints.iterator();
            EndpointDO ep = null;
            while (epItr.hasNext()) {
                ep = epItr.next();
                if (ep.getEndPointName().equalsIgnoreCase(epName)) {
                    break;
                }
            }
            if (ep != null) {
                addressEndpoints.remove(ep);
            }
        } else if (epType.equalsIgnoreCase("WSDL")) {
            Iterator<EndpointDO> wsItr = wsdlEndpoints.iterator();
            EndpointDO wsEp = new EndpointDO();
            while (wsItr.hasNext()) {
                wsEp = wsItr.next();
                if (wsEp.getEndPointName().equalsIgnoreCase(epName)) {
                    break;
                }
            }
            wsdlEndpoints.remove(wsEp);
        }
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.