System.out.println("Setting up calculator nodes");
ClassLoader cl = NodeDrivenTestCase.class.getClassLoader();
SCANodeFactory nodeFactory = SCANodeFactory.newInstance();
// sca-contribution.xml test
nodeA = nodeFactory.createSCANode("http://localhost:8100/nodeA", "http://localhost:9999");
nodeA.addContribution("nodeA", cl.getResource("nodeA/"));
nodeA.addToDomainLevelComposite(new QName("http://sample", "CalculatorA"));
// sca-deployables test
nodeB = nodeFactory.createSCANode("http://localhost:8200/nodeB", "http://localhost:9999");
nodeB.addContribution("nodeB", cl.getResource("nodeB/"));
nodeB.addToDomainLevelComposite(new QName("http://sample", "CalculatorB"));
// sca-deployables test
nodeC = nodeFactory.createSCANode("http://localhost:8300/nodeC", "http://localhost:9999");
nodeC.addContribution("nodeC", cl.getResource("nodeC/"));
nodeC.addToDomainLevelComposite(new QName("http://sample", "CalculatorC"));
nodeC.addToDomainLevelComposite(new QName("http://sample", "CalculatorC"));
// start the domain