// start a composite
node.startComposite("HelloworldContrib", "lifecycle.composite");
// send a message to each client. The last one throws and exception
Helloworld hwCE = node.getService(Helloworld.class, "HelloworldClientCE");
System.out.println(hwCE.sayHello("name"));
Helloworld hwC = node.getService(Helloworld.class, "HelloworldClientC");
System.out.println(hwC.sayHello("name"));
Helloworld hwS = node.getService(Helloworld.class, "HelloworldClientC");
System.out.println(hwS.sayHello("name"));
try {
Helloworld hw = node.getService(Helloworld.class, "HelloworldC");
hw.throwException("name");
} catch (Exception ex) {
// do nothing
StatusImpl.appendStatus("Exception caught on throwException()", "LifecycleTestCase.testAppExceptionShutdown");
}