From 9a54462b736df41d8fc9347fd3fee15a1ae94b84 Mon Sep 17 00:00:00 2001 From: edwardsmj Date: Thu, 30 Oct 2008 16:17:55 +0000 Subject: 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 --- .../java/org/apache/tuscany/sca/assembly/impl/ConsumerImpl.java | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'sandbox/event') 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 bindings = new ArrayList(); private ArrayList sourceList = new ArrayList(); @@ -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 getBinding(Class bindingClass) { for (Binding binding : bindings) { if (bindingClass.isInstance(binding)) { -- cgit v1.2.3