openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tandrasc...@apache.org
Subject svn commit: r1848661 - /openwebbeans/branches/owb_1.7.x/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
Date Tue, 11 Dec 2018 08:55:23 GMT
Author: tandraschko
Date: Tue Dec 11 08:55:23 2018
New Revision: 1848661

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

Modified:
    openwebbeans/branches/owb_1.7.x/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java

Modified: openwebbeans/branches/owb_1.7.x/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
URL: http://svn.apache.org/viewvc/openwebbeans/branches/owb_1.7.x/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java?rev=1848661&r1=1848660&r2=1848661&view=diff
==============================================================================
--- openwebbeans/branches/owb_1.7.x/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
(original)
+++ openwebbeans/branches/owb_1.7.x/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
Tue Dec 11 08:55:23 2018
@@ -313,6 +313,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();
@@ -330,7 +333,6 @@ public class BeansDeployer
                 // do some cleanup after the deployment
                 scanner.release();
                 webBeansContext.getAnnotatedElementFactory().clear();
-                webBeansContext.getBeanManagerImpl().getInjectionResolver().setStartup(false);
             }
         }
         catch (UnsatisfiedResolutionException e)



Mime
View raw message