openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1664070 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
Date Wed, 04 Mar 2015 16:51:45 GMT
Author: rmannibucau
Date: Wed Mar  4 16:51:45 2015
New Revision: 1664070

URL: http://svn.apache.org/r1664070
Log:
checkPassivationScope after having validated injection points to get right exception during
deployment

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java?rev=1664070&r1=1664069&r2=1664070&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
Wed Mar  4 16:51:45 2015
@@ -801,9 +801,6 @@ public class BeansDeployer
                         }
                     }
 
-                    //Check passivation scope
-                    checkPassivationScope(bean);
-
                     //Bean injection points
                     Set<InjectionPoint> injectionPoints = bean.getInjectionPoints();
 
@@ -812,6 +809,9 @@ public class BeansDeployer
                     {
                         webBeansContext.getWebBeansUtil().validate(injectionPoints, bean);
                     }
+
+                    //Check passivation scope
+                    checkPassivationScope(bean);
                 }
                 catch (RuntimeException e)
                 {



Mime
View raw message