Class DiscoveryResourceLoader
java.lang.Object
dev.engine.core.DiscoveryResourceLoader
JVM-only resource loader for
Discovery. Reads
META-INF/services/dev.engine.core.DiscoveryRegistry files
from the classpath and registers the listed implementations.
This class is loaded reflectively by Discovery so that
TeaVM's compiler never traces into ClassLoader.getResources(),
which is not available on the web platform.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidload()Scans classpath resources and registers all discovered registries.
-
Method Details
-
load
public static void load()Scans classpath resources and registers all discovered registries.
-