geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r1063945 - /geronimo/server/branches/3.0-M2/plugins/openwebbeans/geronimo-openwebbeans/src/main/java/org/apache/geronimo/openwebbeans/OsgiMetaDataScannerService.java
Date Thu, 27 Jan 2011 01:17:50 GMT
Author: djencks
Date: Thu Jan 27 01:17:49 2011
New Revision: 1063945

URL: http://svn.apache.org/viewvc?rev=1063945&view=rev
Log:
GERONIMO-5789 don't scan apps that aren't jcdi

Modified:
    geronimo/server/branches/3.0-M2/plugins/openwebbeans/geronimo-openwebbeans/src/main/java/org/apache/geronimo/openwebbeans/OsgiMetaDataScannerService.java

Modified: geronimo/server/branches/3.0-M2/plugins/openwebbeans/geronimo-openwebbeans/src/main/java/org/apache/geronimo/openwebbeans/OsgiMetaDataScannerService.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/3.0-M2/plugins/openwebbeans/geronimo-openwebbeans/src/main/java/org/apache/geronimo/openwebbeans/OsgiMetaDataScannerService.java?rev=1063945&r1=1063944&r2=1063945&view=diff
==============================================================================
--- geronimo/server/branches/3.0-M2/plugins/openwebbeans/geronimo-openwebbeans/src/main/java/org/apache/geronimo/openwebbeans/OsgiMetaDataScannerService.java
(original)
+++ geronimo/server/branches/3.0-M2/plugins/openwebbeans/geronimo-openwebbeans/src/main/java/org/apache/geronimo/openwebbeans/OsgiMetaDataScannerService.java
Thu Jan 27 01:17:49 2011
@@ -104,7 +104,9 @@ public class OsgiMetaDataScannerService 
                 findBeansXml(mainBundle, packageAdmin);
 
                 // search for all classes
-                findBeanClasses(mainBundle, packageAdmin);
+                if (!beanXMLs.isEmpty()) {
+                    findBeanClasses(mainBundle, packageAdmin);
+                }
             }
             catch(Exception e)
             {



Mime
View raw message