openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gerdo...@apache.org
Subject svn commit: r808174 - /incubator/openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/util/EjbUtility.java
Date Wed, 26 Aug 2009 20:33:50 GMT
Author: gerdogdu
Date: Wed Aug 26 20:33:49 2009
New Revision: 808174

URL: http://svn.apache.org/viewvc?rev=808174&view=rev
Log:
Adding support for Generic portable event firing

Modified:
    incubator/openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/util/EjbUtility.java

Modified: incubator/openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/util/EjbUtility.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/util/EjbUtility.java?rev=808174&r1=808173&r2=808174&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/util/EjbUtility.java
(original)
+++ incubator/openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/util/EjbUtility.java
Wed Aug 26 20:33:49 2009
@@ -43,6 +43,7 @@
 import org.apache.webbeans.portable.events.ProcessInjectionTargetImpl;
 import org.apache.webbeans.portable.events.ProcessProducerImpl;
 import org.apache.webbeans.portable.events.ProcessSessionBeanImpl;
+import org.apache.webbeans.portable.events.generics.GProcessSessionBean;
 import org.apache.webbeans.util.ClassUtil;
 import org.apache.webbeans.util.WebBeansUtil;
 
@@ -129,9 +130,10 @@
         }
 
         //Fires ProcessManagedBean
-        ProcessSessionBeanImpl<T> processBeanEvent = new ProcessSessionBeanImpl<T>((Bean<Object>)ejbBean,annotatedType,ejbBean.getEjbName(),ejbBean.getEjbType());
           
+        ProcessSessionBeanImpl<T> processBeanEvent = new GProcessSessionBean((Bean<Object>)ejbBean,annotatedType,ejbBean.getEjbName(),ejbBean.getEjbType());
           
         BeanManagerImpl.getManager().fireEvent(processBeanEvent, new Annotation[0]);
         
+        
         //Fires ProcessProducerMethod
         WebBeansUtil.fireProcessProducerMethodBeanEvent(annotatedMethods);
         



Mime
View raw message