From fa12862cdde921c4893204a0dc28cf7d80e2cebf Mon Sep 17 00:00:00 2001 From: slaws Date: Mon, 8 Mar 2010 12:00:38 +0000 Subject: Switch binder interface over to throwing exceptions rather than returning booleans. Allows the full details of a missmatch to be retrieved in the runtime case as well as the build time case. Update the matching test case to take advantage of the extra information. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@920287 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/tuscany/sca/runtime/EndpointReferenceBinder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sca-java-2.x/trunk/modules/core-spi/src/main') diff --git a/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/EndpointReferenceBinder.java b/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/EndpointReferenceBinder.java index 676a4fd489..b2ce3f5b7b 100644 --- a/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/EndpointReferenceBinder.java +++ b/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/EndpointReferenceBinder.java @@ -32,7 +32,7 @@ public interface EndpointReferenceBinder { * @param endpointReference * @return */ - boolean bindBuildTime(EndpointRegistry endpointRegistry, EndpointReference endpointReference); + void bindBuildTime(EndpointRegistry endpointRegistry, EndpointReference endpointReference); /** @@ -40,7 +40,7 @@ public interface EndpointReferenceBinder { * @param endpointReference * @return */ - boolean bindRunTime(EndpointRegistry endpointRegistry, EndpointReference endpointReference); + void bindRunTime(EndpointRegistry endpointRegistry, EndpointReference endpointReference); /** * -- cgit v1.2.3