summaryrefslogtreecommitdiffstats
path: root/sandbox/event
diff options
context:
space:
mode:
authoredwardsmj <edwardsmj@13f79535-47bb-0310-9956-ffa450edef68>2008-10-30 16:17:55 +0000
committeredwardsmj <edwardsmj@13f79535-47bb-0310-9956-ffa450edef68>2008-10-30 16:17:55 +0000
commit9a54462b736df41d8fc9347fd3fee15a1ae94b84 (patch)
treebaaafe2d41114dae7e82db1f7f2945e7d22d3500 /sandbox/event
parente6a109d904cb94c967695941944b339fe753b7fb (diff)
Adding back setOperation & getOperation to Consumer - used by introspection code
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@709191 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/event')
-rw-r--r--sandbox/event/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/ConsumerImpl.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/sandbox/event/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/ConsumerImpl.java b/sandbox/event/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/ConsumerImpl.java
index 43821347f2..b2bf9f5059 100644
--- a/sandbox/event/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/ConsumerImpl.java
+++ b/sandbox/event/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/ConsumerImpl.java
@@ -37,6 +37,7 @@ import org.apache.tuscany.sca.policy.PolicySet;
public class ConsumerImpl extends ContractImpl implements Consumer {
private String name;
+ private String theOperationName;
private EventTypes theEventTypes = new EventTypesImpl();
private ArrayList<Binding> bindings = new ArrayList<Binding>();
private ArrayList<EventSource> sourceList = new ArrayList<EventSource>();
@@ -72,6 +73,14 @@ public class ConsumerImpl extends ContractImpl implements Consumer {
return theEventTypes;
} // end getEventType
+ public void setOperationName( String operationName ) {
+ theOperationName = operationName;
+ } // end setOperationName
+
+ public String getOperationName() {
+ return theOperationName;
+ } // end getOperationName
+
public <B> B getBinding(Class<B> bindingClass) {
for (Binding binding : bindings) {
if (bindingClass.isInstance(binding)) {