public ProcessingNode buildNode(Configuration config) throws Exception {
// Is it a redirect to resource ?
String uri = config.getAttribute("uri", null);
if (uri != null) {
ProcessingNode URINode = new RedirectToURINode(uri, config.getAttributeAsBoolean("session", false));
return this.treeBuilder.setupNode(URINode, config);
} else {
this.resourceName = config.getAttribute("resource");
this.callNode = new CallNode();