summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.x/modules/implementation-jee
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-05-28 17:59:27 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-05-28 17:59:27 +0000
commit717185ace58cc017538097c811f896a770ab3e22 (patch)
tree1e7890f3ba37e0041400b024d54621ffbe3ceb15 /branches/sca-java-1.x/modules/implementation-jee
parent1c74e1e3677538fd77cb880282665e272653f694 (diff)
TUSCANY-3052 - Add module info object to the EJB implementation generated model object. Add in the web implementation generated model object.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@779701 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.x/modules/implementation-jee')
-rw-r--r--branches/sca-java-1.x/modules/implementation-jee/src/main/java/org/apache/tuscany/sca/implementation/jee/xml/JEEImplementationProcessor.java13
1 files changed, 8 insertions, 5 deletions
diff --git a/branches/sca-java-1.x/modules/implementation-jee/src/main/java/org/apache/tuscany/sca/implementation/jee/xml/JEEImplementationProcessor.java b/branches/sca-java-1.x/modules/implementation-jee/src/main/java/org/apache/tuscany/sca/implementation/jee/xml/JEEImplementationProcessor.java
index 8ac32f753c..cd5f3eb222 100644
--- a/branches/sca-java-1.x/modules/implementation-jee/src/main/java/org/apache/tuscany/sca/implementation/jee/xml/JEEImplementationProcessor.java
+++ b/branches/sca-java-1.x/modules/implementation-jee/src/main/java/org/apache/tuscany/sca/implementation/jee/xml/JEEImplementationProcessor.java
@@ -213,6 +213,8 @@ public class JEEImplementationProcessor extends BaseStAXArtifactProcessor implem
if(jeeOptionalExtension != null) {
jeeOptionalExtension.createImplementationJeeComposite((WebModuleInfo)moduleInfo, implementation);
}
+ // now resolve the implementation composite as a real composite.
+ compositeProcessor.resolve((Composite)implementation, resolver);
}
} else if(moduleInfo instanceof EjbModuleInfo) {
// Check for ejb-jar composite
@@ -236,6 +238,8 @@ public class JEEImplementationProcessor extends BaseStAXArtifactProcessor implem
if(jeeOptionalExtension != null) {
jeeOptionalExtension.createImplementationJeeComposite((EjbModuleInfo)moduleInfo, implementation);
}
+ // now resolve the implementation composite as a real composite.
+ compositeProcessor.resolve((Composite)implementation, resolver);
}
} else if(moduleInfo instanceof JavaEEApplicationInfo) {
// Check for application composite
@@ -268,14 +272,13 @@ public class JEEImplementationProcessor extends BaseStAXArtifactProcessor implem
if(jeeOptionalExtension != null) {
jeeOptionalExtension.createImplementationJeeComposite((JavaEEApplicationInfo)moduleInfo, implementation);
}
+ // now resolve the implementation composite as a real composite.
+ compositeProcessor.resolve((Composite)implementation, resolver);
}
}
- // now resolve the implementation composite as a real composite.
- // Any artifacts from an application composite will already be resolved.
- // Composite artifacts created on the fly to represent a non-enhanced JEE
- // archive need to be resolved.
- compositeProcessor.resolve((Composite)implementation, resolver);
+ // we could have resolved the whole implementation composite here except that
+ // it messes up the resolvers associated with the
}
implementation.setUnresolved(false);
}