Examples of ProcessingElementNode


Examples of eu.admire.dispel.graph.ProcessingElementNode

            if (node instanceof ProcessingElementNode)
            {
                if (node.getName().equals("uk.org.ogsadai.SQLQuery"))
                {
                    haveSQLQueryNode = true;
                    ProcessingElementNode peNode = (ProcessingElementNode)node;
                   
                    Set<String> candidatePEs = peNode.getCandidatePEs();
                    assertEquals(
                        "Size of candidate PE set", 2, candidatePEs.size());
                    assertTrue(
                        "Candidate PE set must contain com.me.SQLQueryA",
                        candidatePEs.contains("com.me.SQLQueryA"));
                    assertTrue(
                        "Candidate PE set must contain com.me.SQLQueryB",
                        candidatePEs.contains("com.me.SQLQueryB"));
                   
                    Map<String, Set<String>> gatewayPEDetails =
                        peNode.getCandidateGateways();
                   
                    assertTrue(
                        "Must get candidate gateways for PE com.me.SQLQueryA",
                        gatewayPEDetails.containsKey("com.me.SQLQueryA"));
                    assertEquals(
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.