Package org.apache.pekko.osgi
Class BundleDelegatingClassLoader
java.lang.Object
java.lang.ClassLoader
org.apache.pekko.osgi.BundleDelegatingClassLoader
-
Constructor Summary
ConstructorsConstructorDescriptionBundleDelegatingClassLoader(org.osgi.framework.Bundle bundle, ClassLoader fallBackClassLoader) -
Method Summary
Modifier and TypeMethodDescriptionstatic BundleDelegatingClassLoaderapply(org.osgi.framework.BundleContext context) Create a bundle delegating ClassLoader for the bundle context's bundlestatic BundleDelegatingClassLoaderapply(org.osgi.framework.BundleContext context, scala.Option<ClassLoader> fallBackCLassLoader) Class<?>findResource(String name) findResources(String name) Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
Constructor Details
-
BundleDelegatingClassLoader
public BundleDelegatingClassLoader(org.osgi.framework.Bundle bundle, ClassLoader fallBackClassLoader)
-
-
Method Details
-
apply
Create a bundle delegating ClassLoader for the bundle context's bundle -
apply
public static BundleDelegatingClassLoader apply(org.osgi.framework.BundleContext context, scala.Option<ClassLoader> fallBackCLassLoader) -
findClass
- Overrides:
findClassin classClassLoader
-
findResource
- Overrides:
findResourcein classClassLoader
-
findResources
- Overrides:
findResourcesin classClassLoader
-