boolean load(final String configXmlUrl) throws ContributionReadException, ActivationException, ValidationException { Node node = runtime.createNodeFromXML(configXmlUrl); currentDomain = node.getDomainName(); nodes.put(currentDomain, node); return true; }
boolean load(final String configXmlUrl) throws ContributionReadException, ActivationException, ValidationException { Node node = runtime.createNodeFromXML(configXmlUrl); currentDomain = node.getDomainName(); nodes.put(currentDomain, node); return true; }
public Shell(File nodeXML, boolean useJLine) throws ContributionReadException, MalformedURLException, ActivationException, ValidationException { this.runtime = TuscanyRuntime.newInstance(); this.useJline = useJLine; try { initCommands(); } catch (IOException e) { throw new RuntimeException(e); } Node node = runtime.createNodeFromXML(nodeXML.toURI().toURL().toString()); currentDomain = node.getDomainName(); nodes.put(currentDomain, node); }
public Shell(File nodeXML, boolean useJLine) throws ContributionReadException, MalformedURLException, ActivationException, ValidationException { this.runtime = TuscanyRuntime.newInstance(); this.useJline = useJLine; try { initCommands(); } catch (IOException e) { throw new RuntimeException(e); } Node node = runtime.createNodeFromXML(nodeXML.toURI().toURL().toString()); currentDomain = node.getDomainName(); nodes.put(currentDomain, node); }
public Node createNode(File directory) throws ContributionReadException, ValidationException, ActivationException, XMLStreamException, IOException { return createNodeFromXML(directory.toURI().toURL().toString()); return createNodeFromXML(nodeXML.toURI().toURL().toString());
public Node createNode(File directory) throws ContributionReadException, ValidationException, ActivationException, XMLStreamException, IOException { return createNodeFromXML(directory.toURI().toURL().toString()); return createNodeFromXML(nodeXML.toURI().toURL().toString());