openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gerdo...@apache.org
Subject svn commit: r984678 - /openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/util/EjbUtility.java
Date Thu, 12 Aug 2010 08:18:19 GMT
Author: gerdogdu
Date: Thu Aug 12 08:18:19 2010
New Revision: 984678

URL: http://svn.apache.org/viewvc?rev=984678&view=rev
Log:
change location for catch exception

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

Modified: openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/util/EjbUtility.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/util/EjbUtility.java?rev=984678&r1=984677&r2=984678&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/util/EjbUtility.java
(original)
+++ openwebbeans/trunk/webbeans-ejb/src/main/java/org/apache/webbeans/ejb/common/util/EjbUtility.java
Thu Aug 12 08:18:19 2010
@@ -156,6 +156,7 @@ public final class EjbUtility
         WebBeansUtil.fireProcessObservableMethodBeanEvent(observerMethodsMap);
         WebBeansUtil.inspectErrorStack("There are errors that are added by ProcessObserverMethod
event observers for observer methods. Look at logs for further details");
 
+        manager.addBean(ejbBean);
         try
         {
             manager.addBean(WebBeansUtil.createNewBean(ejbBean));
@@ -164,7 +165,7 @@ public final class EjbUtility
         {
         }
         
-        manager.addBean(ejbBean);
+        
         manager.getBeans().addAll(producerMethodBeans);
         ejbBeanCreator.defineDisposalMethods();
         manager.getBeans().addAll(producerFieldBeans);



Mime
View raw message