struberg commented on code in PR #126:
URL: https://github.com/apache/openwebbeans/pull/126#discussion_r1935080796


##########
webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java:
##########
@@ -1756,6 +1759,35 @@ protected void deployFromXML(ScannerService scanner)
         }
 
         logger.fine("Deploying configurations from XML has ended 
successfully.");
+
+        try
+        {
+            final URL url = new URL("openwebbeans", null, 0, "cdi-standalone", 
new URLStreamHandler()
+            {
+                @Override
+                protected URLConnection openConnection(URL u) throws 
IOException
+                {
+                    return null;
+                }
+            });
+
+            final BeanArchiveInformation beanArchiveInformation = 
beanArchiveService.getBeanArchiveInformation(url);
+            if (beanArchiveInformation != null)
+            {
+                configureDecorators(url, 
beanArchiveInformation.getDecorators());
+                configureInterceptors(url, 
beanArchiveInformation.getInterceptors());
+                configureAlternatives(url, 
beanArchiveInformation.getAlternativeClasses(), false);
+                configureAlternatives(url, 
beanArchiveInformation.getAlternativeStereotypes(), true);
+                configureAllowProxying(url, 
beanArchiveInformation.getAllowProxyingClasses());
+            }
+
+            logger.fine("Deploying embedded configurations has ended 
successfully.");
+        }
+        catch (Exception e)
+        {
+            logger.info("Error occurred: " + e.getMessage());
+            e.printStackTrace();

Review Comment:
   I guess the e.printStackTrace is a left over?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@openwebbeans.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to