geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r498902 - /geronimo/server/trunk/modules/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbModuleBuilder.java
Date Tue, 23 Jan 2007 04:02:07 GMT
Author: dblevins
Date: Mon Jan 22 20:02:06 2007
New Revision: 498902

URL: http://svn.apache.org/viewvc?view=rev&rev=498902
Log:
need to pass in the class name not the class

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

Modified: geronimo/server/trunk/modules/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbModuleBuilder.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbModuleBuilder.java?view=diff&rev=498902&r1=498901&r2=498902
==============================================================================
--- geronimo/server/trunk/modules/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbModuleBuilder.java
(original)
+++ geronimo/server/trunk/modules/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbModuleBuilder.java
Mon Jan 22 20:02:06 2007
@@ -163,10 +163,10 @@
                 }
             });
 
-            List beans = new ArrayList();
-            beans.addAll(annotated.get(javax.ejb.Stateless.class));
-            beans.addAll(annotated.get(javax.ejb.Stateful.class));
-            beans.addAll(annotated.get(javax.ejb.MessageDriven.class));
+            List<String> beans = new ArrayList<String>();
+            beans.addAll(annotated.get(javax.ejb.Stateless.class.getName()));
+            beans.addAll(annotated.get(javax.ejb.Stateful.class.getName()));
+            beans.addAll(annotated.get(javax.ejb.MessageDriven.class.getName()));
             if (beans.size() <= 0){
                 return null;
             }



Mime
View raw message