summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--branches/sca-java-1.x/modules/contribution-jee/src/main/java/org/apache/tuscany/sca/contribution/jee/EjbModuleModelResolver.java2
-rw-r--r--branches/sca-java-1.x/modules/contribution-jee/src/main/java/org/apache/tuscany/sca/contribution/jee/JavaEEApplicationModelResolver.java2
-rw-r--r--branches/sca-java-1.x/modules/contribution-jee/src/main/java/org/apache/tuscany/sca/contribution/jee/WebModuleModelResolver.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/branches/sca-java-1.x/modules/contribution-jee/src/main/java/org/apache/tuscany/sca/contribution/jee/EjbModuleModelResolver.java b/branches/sca-java-1.x/modules/contribution-jee/src/main/java/org/apache/tuscany/sca/contribution/jee/EjbModuleModelResolver.java
index 1cc62fc4e9..72d594c4d0 100644
--- a/branches/sca-java-1.x/modules/contribution-jee/src/main/java/org/apache/tuscany/sca/contribution/jee/EjbModuleModelResolver.java
+++ b/branches/sca-java-1.x/modules/contribution-jee/src/main/java/org/apache/tuscany/sca/contribution/jee/EjbModuleModelResolver.java
@@ -58,7 +58,7 @@ public class EjbModuleModelResolver implements ModelResolver {
if (resolved != null) {
return modelClass.cast(resolved);
} else {
- uri = URI.create(contribution.getLocation());
+ uri = URI.create("");
resolved = (EjbModuleInfo) map.get(uri);
if (resolved != null) {
return modelClass.cast(resolved);
diff --git a/branches/sca-java-1.x/modules/contribution-jee/src/main/java/org/apache/tuscany/sca/contribution/jee/JavaEEApplicationModelResolver.java b/branches/sca-java-1.x/modules/contribution-jee/src/main/java/org/apache/tuscany/sca/contribution/jee/JavaEEApplicationModelResolver.java
index c1e840788b..e27fa5ae44 100644
--- a/branches/sca-java-1.x/modules/contribution-jee/src/main/java/org/apache/tuscany/sca/contribution/jee/JavaEEApplicationModelResolver.java
+++ b/branches/sca-java-1.x/modules/contribution-jee/src/main/java/org/apache/tuscany/sca/contribution/jee/JavaEEApplicationModelResolver.java
@@ -58,7 +58,7 @@ public class JavaEEApplicationModelResolver implements ModelResolver {
if (resolved != null) {
return modelClass.cast(resolved);
} else {
- uri = URI.create(contribution.getLocation());
+ uri = URI.create("");
resolved = (JavaEEApplicationInfo) map.get(uri);
if (resolved != null) {
return modelClass.cast(resolved);
diff --git a/branches/sca-java-1.x/modules/contribution-jee/src/main/java/org/apache/tuscany/sca/contribution/jee/WebModuleModelResolver.java b/branches/sca-java-1.x/modules/contribution-jee/src/main/java/org/apache/tuscany/sca/contribution/jee/WebModuleModelResolver.java
index 3ca3fba4e1..74117a13f0 100644
--- a/branches/sca-java-1.x/modules/contribution-jee/src/main/java/org/apache/tuscany/sca/contribution/jee/WebModuleModelResolver.java
+++ b/branches/sca-java-1.x/modules/contribution-jee/src/main/java/org/apache/tuscany/sca/contribution/jee/WebModuleModelResolver.java
@@ -58,7 +58,7 @@ public class WebModuleModelResolver implements ModelResolver {
if (resolved != null) {
return modelClass.cast(resolved);
} else {
- uri = URI.create(contribution.getLocation());
+ uri = URI.create("");
resolved = (WebModuleInfo) map.get(uri);
if (resolved != null) {
return modelClass.cast(resolved);