Class DefaultBundleClassLoaderHelper

  • All Implemented Interfaces:
    BundleClassLoaderHelper

    public class DefaultBundleClassLoaderHelper
    extends java.lang.Object
    implements BundleClassLoaderHelper
    DefaultBundleClassLoaderHelper

    Default implementation of the BundleClassLoaderHelper. Uses introspection to support equinox-3.5 and felix-2.0.0

    • Constructor Detail

      • DefaultBundleClassLoaderHelper

        public DefaultBundleClassLoaderHelper()
    • Method Detail

      • getBundleClassLoader

        public java.lang.ClassLoader getBundleClassLoader​(org.osgi.framework.Bundle bundle)
        Assuming the bundle is started.
        Specified by:
        getBundleClassLoader in interface BundleClassLoaderHelper
        Parameters:
        bundle - the bundle
        Returns:
        classloader object