geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1794056 - in /geronimo/components/config/trunk/impl: debug-suite.xml src/main/java/org/apache/geronimo/config/DefaultConfigBuilder.java
Date Fri, 05 May 2017 13:40:16 GMT
Author: struberg
Date: Fri May  5 13:40:16 2017
New Revision: 1794056

URL: http://svn.apache.org/viewvc?rev=1794056&view=rev
Log:
pick up custom Converters

Modified:
    geronimo/components/config/trunk/impl/debug-suite.xml
    geronimo/components/config/trunk/impl/src/main/java/org/apache/geronimo/config/DefaultConfigBuilder.java

Modified: geronimo/components/config/trunk/impl/debug-suite.xml
URL: http://svn.apache.org/viewvc/geronimo/components/config/trunk/impl/debug-suite.xml?rev=1794056&r1=1794055&r2=1794056&view=diff
==============================================================================
--- geronimo/components/config/trunk/impl/debug-suite.xml (original)
+++ geronimo/components/config/trunk/impl/debug-suite.xml Fri May  5 13:40:16 2017
@@ -24,7 +24,7 @@
     <classes>
         <!-- Issues in the spec -->
         <!-- CDI-437 -->
-        <class name="org.eclipse.microprofile.config.tck.CDIPlainInjectionTest">
+        <class name="org.eclipse.microprofile.config.tck.ConverterTest">
             <methods>
                 <include name=".*"/>
             </methods>

Modified: geronimo/components/config/trunk/impl/src/main/java/org/apache/geronimo/config/DefaultConfigBuilder.java
URL: http://svn.apache.org/viewvc/geronimo/components/config/trunk/impl/src/main/java/org/apache/geronimo/config/DefaultConfigBuilder.java?rev=1794056&r1=1794055&r2=1794056&view=diff
==============================================================================
--- geronimo/components/config/trunk/impl/src/main/java/org/apache/geronimo/config/DefaultConfigBuilder.java
(original)
+++ geronimo/components/config/trunk/impl/src/main/java/org/apache/geronimo/config/DefaultConfigBuilder.java
Fri May  5 13:40:16 2017
@@ -105,6 +105,9 @@ public class DefaultConfigBuilder implem
                             .forEach(configSource -> configSources.add(configSource)));
         }
 
+        ServiceLoader<Converter> converterLoader = ServiceLoader.load(Converter.class,
forClassLoader);
+        converterLoader.forEach(converter -> converters.add(converter));
+
         ConfigImpl config = new ConfigImpl();
         config.addConfigSources(configSources);
 



Mime
View raw message