The BundleClassLoader interface is used by the Framework to load local classes and resources from a Bundle. Classes that implement this interface must extend java.lang.ClassLoader, either directly or by extending a subclass of java.lang.ClassLoader.
ClassLoaders that implement the BundleClassLoader
interface must use a ClassLoaderDelegate
to delegate all class, resource and native library lookups.
Clients may implement this interface.
@since 3.1
@see org.eclipse.osgi.framework.adaptor.BundleData#createClassLoader(ClassLoaderDelegate,BundleProtectionDomain,String[])