diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-08-02 13:58:01 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-08-02 13:58:01 +0000 |
commit | 21208b1179836cfbe945e085753345cd81b12408 (patch) | |
tree | 13e78f591422a63f26aa3398053aee3d93ada00d /sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/node2/Node.java | |
parent | 40dc8658b2cbf5856b5588a57ddcce62f46b1262 (diff) |
Change add/removeToDoamin method to have the contribution and composite uri as separate parameters
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@981512 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/node2/Node.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/node2/Node.java b/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/node2/Node.java index 7606fa415a..5f4e4d3017 100644 --- a/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/node2/Node.java +++ b/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/node2/Node.java @@ -181,21 +181,23 @@ public interface Node { * 4685 services and references in the supplied composite is not defined; since there is no composite scope * 4686 outside the domain composite, the usual idea of promotion has no utility. * + * @param cotributionURI * @param compositeURI * @throws ActivationException * @throws ValidationException */ - void addToDomainLevelComposite(String compositeURI) throws ActivationException, ValidationException; + void addToDomainLevelComposite(String contributionURI, String compositeURI) throws ActivationException, ValidationException; /** * 4687 10.7.2 remove From Domain-Level Composite * 4688 Removes from the Domain Level composite the elements corresponding to the composite identified by a * 4689 supplied composite URI. This means that the removal of the components, wires, services and references * 4690 originally added to the domain level composite by the identified composite. * + * @param contributionURI * @param compositeURI * @throws ActivationException */ - void removeFromDomainLevelComposite(String compositeURI) throws ActivationException; + void removeFromDomainLevelComposite(String contributionURI, String compositeURI) throws ActivationException; /** * 10.7.3 get Domain-Level Composite |