summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-11-18 19:16:22 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-11-18 19:16:22 +0000
commitac30fbd36549276615aafed22aae85fa9d955aff (patch)
treea5e12c98186033c011b4a2158b120ca46350f10a /java
parentbf06eae38c29f648bb1b443ea8ea525c61bb630b (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')
-rw-r--r--java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/EndpointImpl.java1
-rw-r--r--java/sca/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/EndpointReferenceImpl.java1
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();
}