diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-18 19:16:22 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-18 19:16:22 +0000 |
commit | ac30fbd36549276615aafed22aae85fa9d955aff (patch) | |
tree | a5e12c98186033c011b4a2158b120ca46350f10a /java | |
parent | bf06eae38c29f648bb1b443ea8ea525c61bb630b (diff) |
Resolve it before getXXX()
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@881886 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
2 files changed, 2 insertions, 0 deletions
diff --git a/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/EndpointImpl.java b/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/EndpointImpl.java index d59c278aef..340020cb1b 100644 --- a/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/EndpointImpl.java +++ b/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/EndpointImpl.java @@ -135,6 +135,7 @@ public class EndpointImpl implements Endpoint { } public ExtensionType getExtensionType() { + getBinding(); if (binding instanceof PolicySubject) { return ((PolicySubject)binding).getExtensionType(); } diff --git a/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/EndpointReferenceImpl.java b/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/EndpointReferenceImpl.java index 19d55d597c..8b39a19b23 100644 --- a/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/EndpointReferenceImpl.java +++ b/java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/EndpointReferenceImpl.java @@ -147,6 +147,7 @@ public class EndpointReferenceImpl implements EndpointReference { } public ExtensionType getExtensionType() { + getBinding(); if (binding instanceof PolicySubject) { return ((PolicySubject)binding).getExtensionType(); } |