File tree Expand file tree Collapse file tree
microsphere-java-core/src/main/java/io/microsphere/metadata Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030import static io .microsphere .collection .CollectionUtils .isNotEmpty ;
3131import static io .microsphere .collection .ListUtils .newLinkedList ;
3232import static io .microsphere .logging .LoggerFactory .getLogger ;
33- import static io .microsphere .util .ClassLoaderUtils .getDefaultClassLoader ;
3433import static io .microsphere .util .ClassUtils .getTypeName ;
3534import static io .microsphere .util .ServiceLoaderUtils .loadServicesList ;
3635import static java .util .Collections .unmodifiableList ;
@@ -90,8 +89,7 @@ public interface ConfigurationPropertyLoader extends Prioritized {
9089 @ Immutable
9190 static List <ConfigurationProperty > loadAll () {
9291 Logger logger = getLogger (ConfigurationPropertyLoader .class );
93- ClassLoader classLoader = getDefaultClassLoader ();
94- List <ConfigurationPropertyLoader > loaders = loadServicesList (ConfigurationPropertyLoader .class , classLoader );
92+ List <ConfigurationPropertyLoader > loaders = loadServicesList (ConfigurationPropertyLoader .class );
9593 List <ConfigurationProperty > configurationProperties = newLinkedList ();
9694 for (ConfigurationPropertyLoader loader : loaders ) {
9795 try {
You can’t perform that action at this time.
0 commit comments