Examples of MediationDataDO


Examples of org.wso2.carbon.bam.common.dataobjects.mediation.MediationDataDO

            throw new BAMException("getEndpoints failed", e);
        }

        if (endpoints != null && endpoints.length > 0) {
            for (Endpoint endpoint : endpoints) {
                MediationDataDO endpointDO = new MediationDataDO();
                endpointDO.setName(endpoint.getEndpoint());
                endpointDO.setDirection("In");
                endpointDO.setServerId(serverId);
                endpointsList.add(endpointDO);

                endpointDO = new MediationDataDO();
                endpointDO.setName(endpoint.getEndpoint());
                endpointDO.setDirection("Out");
                endpointDO.setServerId(serverId);
                endpointsList.add(endpointDO);
            }
        }

        return endpointsList.toArray(new MediationDataDO[endpointsList.size()]);
View Full Code Here

Examples of org.wso2.carbon.bam.common.dataobjects.mediation.MediationDataDO

            throw new BAMException("getProxyServices failed", e);
        }

        if (proxyServices != null && proxyServices.length > 0) {
            for (ProxyService proxyService : proxyServices) {
                MediationDataDO proxyDO = new MediationDataDO();
                proxyDO.setName(proxyService.getProxyService());
                proxyDO.setDirection("In");
                proxyDO.setServerId(serverId);
                proxyServicesList.add(proxyDO);

                proxyDO = new MediationDataDO();
                proxyDO.setName(proxyService.getProxyService());
                proxyDO.setDirection("Out");
                proxyDO.setServerId(serverId);
                proxyServicesList.add(proxyDO);
            }
        }

        return proxyServicesList.toArray(new MediationDataDO[proxyServicesList.size()]);
View Full Code Here

Examples of org.wso2.carbon.bam.common.dataobjects.mediation.MediationDataDO

            throw new BAMException("Sequences getting  failed for serverId : " + serverId, e);
        }

        if (sequences != null && sequences.length > 0) {
            for (Sequence seq : sequences) {
                MediationDataDO sequenceDO = new MediationDataDO();
                sequenceDO.setName(seq.getSequence());
                sequenceDO.setDirection("In");
                sequenceDO.setServerId(serverId);
                sequencesList.add(sequenceDO);

                sequenceDO = new MediationDataDO();
                sequenceDO.setName(seq.getSequence());
                sequenceDO.setDirection("Out");
                sequenceDO.setServerId(serverId);
                sequencesList.add(sequenceDO);
            }
        }
        return sequencesList.toArray(new MediationDataDO[sequencesList.size()]);
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.