summaryrefslogtreecommitdiffstats
path: root/sandbox/event/modules/extension-helper/src/main
diff options
context:
space:
mode:
authorrsivaram <rsivaram@13f79535-47bb-0310-9956-ffa450edef68>2008-10-21 09:04:28 +0000
committerrsivaram <rsivaram@13f79535-47bb-0310-9956-ffa450edef68>2008-10-21 09:04:28 +0000
commite753f271ccf0ff4617725130b82dd21ae721b3d2 (patch)
tree41c5d085b635978d93a1ba068980dc459ca157bc /sandbox/event/modules/extension-helper/src/main
parenta7ad2f6b64171d59288ebd468363255a29d464a0 (diff)
Event prototype: Initial model changes
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@706556 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/event/modules/extension-helper/src/main')
-rw-r--r--sandbox/event/modules/extension-helper/src/main/java/org/apache/tuscany/sca/extension/helper/utils/AbstractImplementation.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/sandbox/event/modules/extension-helper/src/main/java/org/apache/tuscany/sca/extension/helper/utils/AbstractImplementation.java b/sandbox/event/modules/extension-helper/src/main/java/org/apache/tuscany/sca/extension/helper/utils/AbstractImplementation.java
index 0e658cfd1e..e78626c7da 100644
--- a/sandbox/event/modules/extension-helper/src/main/java/org/apache/tuscany/sca/extension/helper/utils/AbstractImplementation.java
+++ b/sandbox/event/modules/extension-helper/src/main/java/org/apache/tuscany/sca/extension/helper/utils/AbstractImplementation.java
@@ -24,7 +24,9 @@ import java.util.List;
import org.apache.tuscany.sca.assembly.ConfiguredOperation;
import org.apache.tuscany.sca.assembly.ConstrainingType;
+import org.apache.tuscany.sca.assembly.Consumer;
import org.apache.tuscany.sca.assembly.Implementation;
+import org.apache.tuscany.sca.assembly.Producer;
import org.apache.tuscany.sca.assembly.Property;
import org.apache.tuscany.sca.assembly.Reference;
import org.apache.tuscany.sca.assembly.Service;
@@ -42,6 +44,8 @@ public abstract class AbstractImplementation implements Implementation {
private List<Service> services = new ArrayList<Service>();
private List<Reference> references = new ArrayList<Reference>();
+ private List<Producer> producers = new ArrayList<Producer>();
+ private List<Consumer> consumers = new ArrayList<Consumer>();
private List<Property> properties = new ArrayList<Property>();
private ConstrainingType constrainingType;
private String uri;
@@ -66,6 +70,16 @@ public abstract class AbstractImplementation implements Implementation {
public List<Service> getServices() {
return services;
}
+
+
+ public List<Producer> getProducers() {
+ return producers;
+ }
+
+ public List<Consumer> getConsumers() {
+ return consumers;
+ }
+
public String getURI() {
return uri;