openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tandrasc...@apache.org
Subject svn commit: r1844094 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
Date Wed, 17 Oct 2018 13:10:09 GMT
Author: tandraschko
Date: Wed Oct 17 13:10:09 2018
New Revision: 1844094

URL: http://svn.apache.org/viewvc?rev=1844094&view=rev
Log:
OWB-1266

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=1844094&r1=1844093&r2=1844094&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 Oct 17 13:10:09 2018
@@ -319,6 +319,9 @@ public class BeansDeployer
                 // We are finally done with our bean discovery
                 fireAfterBeanDiscoveryEvent();
 
+                // activate InjectionResolver cache now
+                webBeansContext.getBeanManagerImpl().getInjectionResolver().setStartup(false);
+                
                 validateAlternatives(beanAttributesPerBda);
 
                 validateInjectionPoints();
@@ -337,8 +340,6 @@ public class BeansDeployer
                             .getExecutor().execute(() -> {});
                 }
 
-                webBeansContext.getBeanManagerImpl().getInjectionResolver().setStartup(false);
-
                 // fire event
                 fireAfterDeploymentValidationEvent();
 



Mime
View raw message