diff options
Diffstat (limited to 'sca-java-2.x/trunk/modules/assembly')
2 files changed, 11 insertions, 5 deletions
diff --git a/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/EndpointReference.java b/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/EndpointReference.java index 793a07d55a..be900ed589 100644 --- a/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/EndpointReference.java +++ b/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/EndpointReference.java @@ -34,9 +34,12 @@ public interface EndpointReference extends Base, PolicySubject, Cloneable, Seria public static final int NOT_CONFIGURED = 0; public static final int RESOLVED_BINDING = 1; - public static final int WIRED_TARGET_NOT_FOUND = 2; - public static final int WIRED_TARGET_FOUND_READY_FOR_MATCHING = 3; - public static final int WIRED_TARGET_FOUND_AND_MATCHED = 4; + public static final int AUTOWIRE_PLACEHOLDER = 2; + public static final int WIRED_TARGET_NOT_FOUND = 3; + public static final int WIRED_TARGET_FOUND_READY_FOR_MATCHING = 4; + public static final int WIRED_TARGET_FOUND_AND_MATCHED = 5; + public static final int WIRED_TARGET_FOUND = 4; // to replace previous two? + /** * Get the structural URI of the reference binding diff --git a/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/EndpointReferenceImpl.java b/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/EndpointReferenceImpl.java index b39e27683d..049ca24e3c 100644 --- a/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/EndpointReferenceImpl.java +++ b/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/EndpointReferenceImpl.java @@ -183,12 +183,15 @@ public class EndpointReferenceImpl implements EndpointReference { output += " RESOLVED_BINDING "; break; case 2: + output += " AUTOWIRE_PLACEHOLDER "; + break; + case 3: output += " WIRED_TARGET_NOT_FOUND "; break; - case 3: + case 4: output += " WIRED_TARGET_FOUND_READY_FOR_MATCHING "; break; - case 4: + case 5: output += " WIRED_TARGET_FOUND_AND_MATCHED "; break; } |