diff options
-rw-r--r-- | sandbox/event/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/ConsumerImpl.java | 9 |
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)) { |