[openwebbeans] branch master updated: [OWB-1363] ensure OWBInitializer can easily switch its default scanner service (original one, can be != runtime one but takes the configuration phase of the SeCon

2021-01-02 Thread rmannibucau
This is an automated email from the ASF dual-hosted git repository.

rmannibucau pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwebbeans.git


The following commit(s) were added to refs/heads/master by this push:
 new 7bc2726  [OWB-1363] ensure OWBInitializer can easily switch its 
default scanner service (original one, can be != runtime one but takes the 
configuration phase of the SeContainer initializer)
7bc2726 is described below

commit 7bc2726d1e94dbe060aa9b2bc532cb3e57c90416
Author: Romain Manni-Bucau 
AuthorDate: Sat Jan 2 21:51:02 2021 +0100

[OWB-1363] ensure OWBInitializer can easily switch its default scanner 
service (original one, can be != runtime one but takes the configuration phase 
of the SeContainer initializer)
---
 .../src/main/java/org/apache/openwebbeans/se/OWBInitializer.java  | 8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git 
a/webbeans-se/src/main/java/org/apache/openwebbeans/se/OWBInitializer.java 
b/webbeans-se/src/main/java/org/apache/openwebbeans/se/OWBInitializer.java
index a4a47b5..5a35d44 100644
--- a/webbeans-se/src/main/java/org/apache/openwebbeans/se/OWBInitializer.java
+++ b/webbeans-se/src/main/java/org/apache/openwebbeans/se/OWBInitializer.java
@@ -50,7 +50,7 @@ import static java.util.stream.Collectors.toMap;
 
 public class OWBInitializer extends SeContainerInitializer
 {
-protected final CDISeScannerService scannerService = new 
CDISeScannerService();
+protected final CDISeScannerService scannerService = 
createDefaultScannerService();
 protected final Properties properties = new Properties();
 protected final Map services = new HashMap<>();
 protected final Collection extensions = new ArrayList<>();
@@ -62,6 +62,11 @@ public class OWBInitializer extends SeContainerInitializer
 scannerService.loader(loader);
 }
 
+protected CDISeScannerService createDefaultScannerService()
+{
+return new CDISeScannerService();
+}
+
 @Override
 public SeContainer initialize()
 {
@@ -108,7 +113,6 @@ public class OWBInitializer extends SeContainerInitializer
 thread.setContextClassLoader(old);
 }
 }
-
 protected void addCustomServices(final Map services)
 {
 // for children classes



svn commit: r1069711 - in /websites: production/openwebbeans/content/index.html staging/openwebbeans/trunk/content/index.html

2021-01-02 Thread buildbot
Author: buildbot
Date: Sat Jan  2 10:35:07 2021
New Revision: 1069711

Log:
Dynamic update by buildbot for openwebbeans

Modified:
websites/production/openwebbeans/content/index.html
websites/staging/openwebbeans/trunk/content/index.html

Modified: websites/production/openwebbeans/content/index.html
==
(empty)

Modified: websites/staging/openwebbeans/trunk/content/index.html
==
(empty)