public static void main(String[] args) throws Exception {
NodeFactory factory = NodeFactory.newInstance();
Node node = factory.createNode(new File("src/main/resources/context/multiple/MultipleContext.composite").toURI().toURL().toString(),
new Contribution("TestContribution", new File("src/main/resources/context/multiple/").toURI().toURL().toString()));
node.start();
// Method 1: To access the Spring Application Context instance
ApplicationContext ctx = SCAApplicationContextProvider.getApplicationContext();
if (ctx.containsBean("StockQuoteServiceBean"))
System.out.println("StockQuoteServiceBean is now available for use...");