tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1153533 - /openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/cdi/OpenEJBLifecycle.java
Date Wed, 03 Aug 2011 15:14:16 GMT
Author: rmannibucau
Date: Wed Aug  3 15:14:16 2011
New Revision: 1153533

URL: http://svn.apache.org/viewvc?rev=1153533&view=rev
Log:
removing the Cdi injection of dynamically implemented beans - feel free to remove it if it
breaks something

Modified:
    openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/cdi/OpenEJBLifecycle.java

Modified: openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/cdi/OpenEJBLifecycle.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/cdi/OpenEJBLifecycle.java?rev=1153533&r1=1153532&r2=1153533&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/cdi/OpenEJBLifecycle.java
(original)
+++ openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/cdi/OpenEJBLifecycle.java
Wed Aug  3 15:14:16 2011
@@ -363,7 +363,7 @@ public class OpenEJBLifecycle implements
     private void deployManagedBeans(Set<Class<?>> beanClasses, List<BeanContext>
ejbs) {
         Set<Class<?>> managedBeans = new HashSet<Class<?>>(beanClasses);
         for (BeanContext beanContext: ejbs) {
-            if (beanContext.getComponentType().isSession() && !beanContext.isDynamicallyImplemented())
{
+            if (beanContext.getComponentType().isSession()) {
                 managedBeans.remove(beanContext.getBeanClass());
             }
         }



Mime
View raw message