protected String addDeploymentComposite(ContributionDescription cd, Composite composite) { if (logger.isLoggable(Level.FINE)) { logger.log(Level.FINE, "addDeploymentComposite" + Arrays.asList(new Object[]{cd, composite})); } if (composite.getURI() == null || composite.getURI().length() < 1) { composite.setURI(composite.getName().getLocalPart() + ".composite"); } composite.setContributionURI(cd.getURI()); cd.getAdditionalDeployables().put(composite.getURI(), Utils.modelToXML(composite, false, extensionPointRegistry)); domainRegistry.updateInstalledContribution(cd); if (logger.isLoggable(quietLogging? Level.FINE : Level.INFO)) logger.log(quietLogging? Level.FINE : Level.INFO, "addDeploymentComposite: " + composite.getURI()); return composite.getURI(); }
protected String addDeploymentComposite(ContributionDescription cd, Composite composite) { if (logger.isLoggable(Level.FINE)) { logger.log(Level.FINE, "addDeploymentComposite" + Arrays.asList(new Object[]{cd, composite})); } if (composite.getURI() == null || composite.getURI().length() < 1) { composite.setURI(composite.getName().getLocalPart() + ".composite"); } composite.setContributionURI(cd.getURI()); cd.getAdditionalDeployables().put(composite.getURI(), Utils.modelToXML(composite, false, extensionPointRegistry)); domainRegistry.updateInstalledContribution(cd); if (logger.isLoggable(quietLogging? Level.FINE : Level.INFO)) logger.log(quietLogging? Level.FINE : Level.INFO, "addDeploymentComposite: " + composite.getURI()); return composite.getURI(); }
builtComposite.setContributionURI(composite.getContributionURI());
builtComposite.setContributionURI(composite.getContributionURI());
composite.setSpecVersion(Constants.SCA11_NS); if (contribution != null) { composite.setContributionURI(contribution.getURI());
composite.setSpecVersion(Constants.SCA11_NS); if (contribution != null) { composite.setContributionURI(contribution.getURI());