Add New Service

Ken Webb 2011-01-03T19:58:43Z

It should be possible to add a new service while the Bestiary is running. It would be added as a child of XholonInternalService, which is the next sibling of the Bestiary root node.

The following JavaScript locates XholonInternalService, and some of its children.

var contextNode = contextNodeKey;
contextNode = contextNode.getRootNode();
var serviceNode = contextNode.getNextSibling();
println(contextNode);
println(serviceNode);
println(serviceNode.getFirstChild());
println(serviceNode.getFirstChild().getNextSibling());

The result printed out in the Java Console is:

bestiary_0
xholonInternalServices_0
serviceLocatorService_1
xPathService_2

return to main page