public static void main(String[] args) throws Exception {
NodeFactory factory = NodeFactory.newInstance();
Node node = factory.createNode(new File("src/main/resources/spring/annotations/Calculator.composite").toURI().toURL().toString(),
new Contribution("TestContribution", new File("src/main/resources/spring/annotations/").toURI().toURL().toString()));
node.start();
CalculatorService calculatorService =
node.getService(CalculatorService.class, "CalculatorServiceComponent");
System.out.println("3 + 2=" + calculatorService.add(3, 2));