/** * Creates a new SCA node from the configuration URL * * @param configurationURL the URL of the node configuration which is the XML document * that contains the URI of the composite and a collection of URLs for the contributions * * @return a new SCA node. */ public Node createNode(URL configurationURL) { try { InputStream is = openStream(configurationURL); NodeConfiguration configuration = loadConfiguration(is, configurationURL); return createNode(configuration); } catch (IOException e) { throw new ServiceRuntimeException(e); } }
/** * Creates a new SCA node from the configuration URL * * @param configurationURL the URL of the node configuration which is the XML document * that contains the URI of the composite and a collection of URLs for the contributions * * @return a new SCA node. */ public Node createNode(URL configurationURL) { try { InputStream is = openStream(configurationURL); NodeConfiguration configuration = loadConfiguration(is, configurationURL); return createNode(configuration); } catch (IOException e) { throw new ServiceRuntimeException(e); } }