loadFromClasspath

fun loadFromClasspath(classLoader: ClassLoader = defaultParent(), cache: BundleDescriptorCache = BundleDescriptorCache()): List<LoadedBundle>(source)

Loads bundles already visible to classLoader (default: the loader that holds KSLCore). Used to surface in-process bundled examples that ship as part of the application's classpath rather than as separate JAR files. Returned bundles have sourceJar == null and bypass the on-disk cache; in-JAR descriptors are still consulted via getResourceAsStream.