public final Node createNode(URI domainRegistryURI, String... locations) { return createNode(domainRegistryURI, null, locations); }
public final Node createNode(URI domainRegistryURI, String... locations) { return createNode(domainRegistryURI, null, locations); }
/** * Creates a new SCA node from the XML configuration of the node * @param is The input stream that the XML configuration can be read. The stream will be closed * after this call. * @return a new SCA node */ public Node createNode(InputStream is) { NodeConfiguration configuration = loadConfiguration(is, null); return createNode(configuration); }
public final Node createNode(String compositeURI, ClassLoader classLoader) { List<String> locations = ContributionLocationHelper.getContributionLocations(classLoader, compositeURI); return createNode(compositeURI, locations.toArray(new String[locations.size()])); } /**
/** * Create a new SCA node using the list of SCA contributions * @param contributions * @return */ public Node createNode(Contribution... contributions) { NodeConfiguration configuration = createConfiguration(contributions); return createNode(configuration); }
public final Node createNode(String compositeURI, ClassLoader classLoader) { List<String> locations = ContributionLocationHelper.getContributionLocations(classLoader, compositeURI); return createNode(compositeURI, locations.toArray(new String[locations.size()])); } /**
/** * The following methods are used by the node launcher */ public final Node createNode(String deploymentCompositeURI, String[] uris, String locations[]) { return createNode(deploymentCompositeURI, getContributions(Arrays.asList(uris), Arrays.asList(locations))); }
/** * Creates a new SCA node from the XML configuration of the node * @param is The input stream that the XML configuration can be read. The stream will be closed * after this call. * @return a new SCA node */ public Node createNode(InputStream is) { NodeConfiguration configuration = loadConfiguration(is, null); return createNode(configuration); }
/** * Create a new SCA node using the list of SCA contributions * @param contributions * @return */ public Node createNode(Contribution... contributions) { NodeConfiguration configuration = createConfiguration(contributions); return createNode(configuration); }
/** * The following methods are used by the node launcher */ public final Node createNode(String deploymentCompositeURI, String[] uris, String locations[]) { return createNode(deploymentCompositeURI, getContributions(Arrays.asList(uris), Arrays.asList(locations))); }
public final Node createNode(String deploymentCompositeURI, String locations[]) { return createNode(deploymentCompositeURI, getContributions(Arrays.asList(locations))); }
public final Node createNode(String deploymentCompositeURI, String locations[]) { return createNode(deploymentCompositeURI, getContributions(Arrays.asList(locations))); }
public final Node createNode(Reader deploymentCompositeContent, String[] uris, String locations[]) { return createNode(deploymentCompositeContent, getContributions(Arrays.asList(uris), Arrays.asList(locations))); }
public final Node createNode(Reader deploymentCompositeContent, String[] uris, String locations[]) { return createNode(deploymentCompositeContent, getContributions(Arrays.asList(uris), Arrays.asList(locations))); }
/** * Creates a new SCA node. * * @param compositeContent the XML content of the deployment composite * @param contributions the URI of the contributions that provides the composites and related artifacts * @return a new SCA node. */ public Node createNode(Reader compositeContent, Contribution... contributions) { NodeConfiguration configuration = createConfiguration(contributions); if (compositeContent != null && configuration.getContributions().size() > 0) { configuration.getContributions().get(0).addDeploymentComposite(compositeContent); } return createNode(configuration); }
/** * Creates a new SCA node. * * @param compositeContent the XML content of the deployment composite * @param contributions the URI of the contributions that provides the composites and related artifacts * @return a new SCA node. */ public Node createNode(InputStream compositeContent, Contribution... contributions) { NodeConfiguration configuration = createConfiguration(contributions); if (compositeContent != null && configuration.getContributions().size() > 0) { configuration.getContributions().get(0).addDeploymentComposite(compositeContent); } return createNode(configuration); }
/** * Creates a new SCA node. * * @param compositeContent the XML content of the deployment composite * @param contributions the URI of the contributions that provides the composites and related artifacts * @return a new SCA node. */ public Node createNode(InputStream compositeContent, Contribution... contributions) { NodeConfiguration configuration = createConfiguration(contributions); if (compositeContent != null && configuration.getContributions().size() > 0) { configuration.getContributions().get(0).addDeploymentComposite(compositeContent); } return createNode(configuration); }
/** * Creates a new SCA node. * * @param compositeContent the XML content of the deployment composite * @param contributions the URI of the contributions that provides the composites and related artifacts * @return a new SCA node. */ public Node createNode(Reader compositeContent, Contribution... contributions) { NodeConfiguration configuration = createConfiguration(contributions); if (compositeContent != null && configuration.getContributions().size() > 0) { configuration.getContributions().get(0).addDeploymentComposite(compositeContent); } return createNode(configuration); }
public final Node createNode(URI domainRegistryURI, String deploymentCompositeURI, String[] locations) { Contribution[] contributions = getContributions(Arrays.asList(locations)); NodeConfiguration configuration = createConfiguration(contributions); if (deploymentCompositeURI != null && configuration.getContributions().size() > 0) { configuration.getContributions().get(0).addDeploymentComposite(createURI(deploymentCompositeURI)); } configuration.setDomainRegistryURI(domainRegistryURI.toString()); configuration.setDomainURI(getDomainURI(domainRegistryURI)); return createNode(configuration); }
public final Node createNode(URI domainRegistryURI, String deploymentCompositeURI, String[] locations) { Contribution[] contributions = getContributions(Arrays.asList(locations)); NodeConfiguration configuration = createConfiguration(contributions); if (deploymentCompositeURI != null && configuration.getContributions().size() > 0) { configuration.getContributions().get(0).addDeploymentComposite(createURI(deploymentCompositeURI)); } configuration.setDomainRegistryURI(domainRegistryURI.toString()); configuration.setDomainURI(getDomainURI(domainRegistryURI)); return createNode(configuration); }