// Start the domain
domain.start();
// Contribute the SCA contribution
ContributionService contributionService = domain.getContributionService();
helloContribution =
contributionService.contribute("http://contribution-multiple/helloworld", helloContribution_URL, false);
for (Composite deployable : helloContribution.getDeployables()) {
domain.getDomainComposite().getIncludes().add(deployable);
domain.buildComposite(deployable);
}
for (Composite deployable : helloContribution.getDeployables()) {
domain.getCompositeActivator().activate(deployable);
domain.getCompositeActivator().start(deployable);
}
helloWorldContribution_one =
contributionService.contribute("http://contribution-multiple/helloworld_one", helloWorldContribution_one_URL, false);
for (Composite deployable : helloWorldContribution_one.getDeployables()) {
domain.getDomainComposite().getIncludes().add(deployable);
domain.buildComposite(deployable);
}