diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-03-08 12:00:38 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-03-08 12:00:38 +0000 |
commit | fa12862cdde921c4893204a0dc28cf7d80e2cebf (patch) | |
tree | 5310fd403d54e2d277047e8980838c674dc05a9c /sca-java-2.x/trunk/modules/core-spi/src/main | |
parent | df6bd28390b0cd99119934763a4a664b6aa5347d (diff) |
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
Diffstat (limited to 'sca-java-2.x/trunk/modules/core-spi/src/main')
-rw-r--r-- | sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/EndpointReferenceBinder.java | 4 |
1 files changed, 2 insertions, 2 deletions
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); /** * |