geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From genspr...@apache.org
Subject svn commit: r1133682 - /geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/XmlUtil.java
Date Thu, 09 Jun 2011 07:11:53 GMT
Author: genspring
Date: Thu Jun  9 07:11:53 2011
New Revision: 1133682

URL: http://svn.apache.org/viewvc?rev=1133682&view=rev
Log:
adding the new environment element copying logic in environment handling logic of ejb builder.

Modified:
    geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/XmlUtil.java

Modified: geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/XmlUtil.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/XmlUtil.java?rev=1133682&r1=1133681&r2=1133682&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/XmlUtil.java
(original)
+++ geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/XmlUtil.java
Thu Jun  9 07:11:53 2011
@@ -122,6 +122,14 @@ public final class XmlUtil {
                     environment.addDependency(dependency);
                 }
             }
+            
+            environment.setBundleActivator(environmentType.getBundleActivator());
+            environment.addToBundleClassPath(environmentType.getBundleClassPath());
+            environment.addRequireBundles(environmentType.getRequireBundle());
+            environment.addExportPackages(environmentType.getExportPackage());
+            environment.addImportPackages(environmentType.getImportPackage());
+            environment.addDynamicImportPackages(environmentType.getDynamicImportPackage());
+
 
             environment.setSuppressDefaultEnvironment(environmentType.isSuppressDefaultEnvironment());
 



Mime
View raw message