geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r1457941 - /geronimo/server/branches/3.0/framework/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/DeploymentContext.java
Date Mon, 18 Mar 2013 19:47:20 GMT
Author: gawor
Date: Mon Mar 18 19:47:20 2013
New Revision: 1457941

URL: http://svn.apache.org/r1457941
Log:
allow config modules to specify its own dynamic import packages

Modified:
    geronimo/server/branches/3.0/framework/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/DeploymentContext.java

Modified: geronimo/server/branches/3.0/framework/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/DeploymentContext.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/3.0/framework/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/DeploymentContext.java?rev=1457941&r1=1457940&r2=1457941&view=diff
==============================================================================
--- geronimo/server/branches/3.0/framework/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/DeploymentContext.java
(original)
+++ geronimo/server/branches/3.0/framework/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/DeploymentContext.java
Mon Mar 18 19:47:20 2013
@@ -572,7 +572,9 @@ public class DeploymentContext {
             LinkedHashSet<String> imports = getImports(gbeans);
             addImport(imports, environment.getBundleActivator());
             environment.addImportPackages(imports);
-            environment.addDynamicImportPackage("*");
+            if (environment.getDynamicImportPackages().isEmpty()) {
+                environment.addDynamicImportPackage("*");
+            }
             osgiMetaDataBuilder = new OSGiMetaDataBuilder(bundleContext, new DummyExportPackagesSelector());
         }
 



Mime
View raw message