summaryrefslogtreecommitdiffstats
path: root/java/sca/itest/builder
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-03-11 19:13:15 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-03-11 19:13:15 +0000
commit40ffbfbb4158311eddb33f37b0e560e194ee33b9 (patch)
treef00c24f51bc94125acf53297a4b4527f80879931 /java/sca/itest/builder
parenteb1a1e010f96565ba8441f4cdc2654a31af2d570 (diff)
Bring up the service wire based on the endpoint model. To turn this on change core/META-INF/services/org.apache.tuscany.sca.core.assembly.CompositeActivator to reference CompositeActivatorImpl2. There are a few classes with "2" appearing now so I can build this in parallel without (I hope) messing everyone else up. Endpoint reference building code still not in the right place yet.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@752585 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/itest/builder')
-rw-r--r--java/sca/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/TestUtils.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/java/sca/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/TestUtils.java b/java/sca/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/TestUtils.java
index f59470078e..c7f2dad2c4 100644
--- a/java/sca/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/TestUtils.java
+++ b/java/sca/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/TestUtils.java
@@ -259,7 +259,8 @@ public class TestUtils {
if (endpointReference.getTargetName() != null){
buffer += indent + " Wired: " +"\n";
buffer += indent + " Target: " + endpointReference.getTargetName()+"\n";
- if (endpointReference.getTargetEndpoint() != null){
+ if (endpointReference.getTargetEndpoint() != null &&
+ endpointReference.getTargetEndpoint().isUnresolved() == false){
buffer += indent + " Binding: " + endpointReference.getBinding().getName() +"\n";
buffer += indent + " TargetEndpoint: " + endpointReference.getTargetEndpoint().getBinding().getName()+"\n";
} else {