openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1731156 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
Date Thu, 18 Feb 2016 21:31:48 GMT
Author: rmannibucau
Date: Thu Feb 18 21:31:47 2016
New Revision: 1731156

URL: http://svn.apache.org/viewvc?rev=1731156&view=rev
Log:
registering all @Priority and not only global/programmatic ones

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=1731156&r1=1731155&r2=1731156&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
Thu Feb 18 21:31:47 2016
@@ -245,7 +245,10 @@ public class BeansDeployer
                 // Deploy additional Annotated Types which got added via BeforeBeanDiscovery#addAnnotatedType
                 addAdditionalAnnotatedTypes(webBeansContext.getBeanManagerImpl().getAdditionalAnnotatedTypes(),
globalBdaAnnotatedTypes);
 
-                registerAlternativesDecoratorsAndInterceptorsWithPriority(globalBdaAnnotatedTypes);
+                for (List<AnnotatedType<?>> at : annotatedTypesPerBda.values())
+                {
+                    registerAlternativesDecoratorsAndInterceptorsWithPriority(at);
+                }
 
                 addAdditionalAnnotatedTypes(fireAfterTypeDiscoveryEvent(), globalBdaAnnotatedTypes);
 



Mime
View raw message