diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-06-18 18:03:56 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-06-18 18:03:56 +0000 |
commit | d9f47b9f8230d877208979c4ac4766a552605ed1 (patch) | |
tree | 4d9d00285fe968b9d763e00fa1c5eda93331015c /sca-java-2.x/trunk | |
parent | 312281ca1bfe08fc62fb0fba9b4cce4bfd5f42f7 (diff) |
Update Composite to keep track of 'fused' includes. 'Fused' is the term the code is using for the merging of the inlcudes inline into the composite. But after that process has happened there was nolonger any way to find what includes a composite had so this new method enables still finding that
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1137220 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk')
2 files changed, 6 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/Composite.java b/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/Composite.java index 2e8df8011f..2c619be680 100644 --- a/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/Composite.java +++ b/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/Composite.java @@ -74,6 +74,8 @@ public interface Composite extends Implementation, Extensible, Cloneable, Policy */ List<Composite> getIncludes(); + public List<Composite> getFusedIncludes(); + /** * Returns a list of components contained in this composite. * diff --git a/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/CompositeImpl.java b/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/CompositeImpl.java index ddc28f2b71..c7672057dd 100644 --- a/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/CompositeImpl.java +++ b/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/CompositeImpl.java @@ -43,6 +43,7 @@ public class CompositeImpl extends ImplementationImpl implements Composite, Clon private String contributionURI; private List<Component> components = new ArrayList<Component>(); private List<Composite> includes = new ArrayList<Composite>(); + private List<Composite> fusedIncludes = new ArrayList<Composite>(); private QName name; private List<Wire> wires = new ArrayList<Wire>(); private Boolean autowire; @@ -126,6 +127,9 @@ public class CompositeImpl extends ImplementationImpl implements Composite, Clon public List<Composite> getIncludes() { return includes; } + public List<Composite> getFusedIncludes() { + return fusedIncludes; + } public QName getName() { return name; |