From a34c7e42113c9b14122d34a9dcd3859ea95504b6 Mon Sep 17 00:00:00 2001 From: edwardsmj Date: Thu, 30 Oct 2008 14:33:11 +0000 Subject: Fixes to the spelling of the getEventTypes() method for Consumers and Producers + reading of Component Consumer event types git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@709174 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/org/apache/tuscany/sca/assembly/EventSource.java | 2 +- .../src/main/java/org/apache/tuscany/sca/assembly/EventTarget.java | 2 +- .../main/java/org/apache/tuscany/sca/assembly/impl/ConsumerImpl.java | 2 +- .../main/java/org/apache/tuscany/sca/assembly/impl/ProducerImpl.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sandbox/event/modules/assembly') diff --git a/sandbox/event/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/EventSource.java b/sandbox/event/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/EventSource.java index 4922e1d110..5ecbff53ae 100644 --- a/sandbox/event/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/EventSource.java +++ b/sandbox/event/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/EventSource.java @@ -42,6 +42,6 @@ public interface EventSource extends Base, Extensible, Cloneable { /** * Gets the EventTypes handled by the source */ - EventTypes getEventType(); + EventTypes getEventTypes(); } diff --git a/sandbox/event/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/EventTarget.java b/sandbox/event/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/EventTarget.java index db314d4fe1..d0b0ea4a1b 100644 --- a/sandbox/event/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/EventTarget.java +++ b/sandbox/event/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/EventTarget.java @@ -42,6 +42,6 @@ public interface EventTarget extends Base, Extensible, Cloneable { /** * Gets the EventTypes handled by the target */ - EventTypes getEventType(); + EventTypes getEventTypes(); } 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 2d61294f9f..43821347f2 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 @@ -68,7 +68,7 @@ public class ConsumerImpl extends ContractImpl implements Consumer { /** * Gets the EventTypes handled by the target */ - public EventTypes getEventType() { + public EventTypes getEventTypes() { return theEventTypes; } // end getEventType diff --git a/sandbox/event/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/ProducerImpl.java b/sandbox/event/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/ProducerImpl.java index e9da467c0e..162e98d24f 100644 --- a/sandbox/event/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/ProducerImpl.java +++ b/sandbox/event/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/ProducerImpl.java @@ -62,7 +62,7 @@ public class ProducerImpl extends ContractImpl implements Producer { /** * Gets the EventTypes handled by the target */ - public EventTypes getEventType() { + public EventTypes getEventTypes() { return theEventTypes; } // end getEventType -- cgit v1.2.3