Class BundleWiringImpl.BundleClassLoader

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void callWovenClassListeners​(Felix felix, java.util.Set<ServiceReference<WovenClassListener>> wovenClassListeners, WovenClass wovenClass)  
      protected java.lang.Class findClass​(java.lang.String name)  
      protected java.lang.String findLibrary​(java.lang.String name)  
      protected java.net.URL findResource​(java.lang.String name)  
      protected java.util.Enumeration findResources​(java.lang.String name)  
      Bundle getBundle()
      Returns the Bundle object associated with this BundleReference.
      java.net.URL getResource​(java.lang.String name)  
      boolean isActivationTriggered()  
      protected boolean isParallel()  
      protected java.lang.Class loadClass​(java.lang.String name, boolean resolve)  
      java.lang.String toString()  
      • Methods inherited from class java.security.SecureClassLoader

        defineClass, defineClass, getPermissions
      • Methods inherited from class java.lang.ClassLoader

        clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLoadedClass, findResource, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • BundleClassLoader

        public BundleClassLoader​(BundleWiringImpl wiring,
                                 java.lang.ClassLoader parent,
                                 Logger logger)
    • Method Detail

      • isParallel

        protected boolean isParallel()
      • isActivationTriggered

        public boolean isActivationTriggered()
      • getBundle

        public Bundle getBundle()
        Description copied from interface: BundleReference
        Returns the Bundle object associated with this BundleReference.
        Specified by:
        getBundle in interface BundleReference
        Returns:
        The Bundle object associated with this BundleReference.
      • loadClass

        protected java.lang.Class loadClass​(java.lang.String name,
                                            boolean resolve)
                                     throws java.lang.ClassNotFoundException
        Overrides:
        loadClass in class java.lang.ClassLoader
        Throws:
        java.lang.ClassNotFoundException
      • findClass

        protected java.lang.Class findClass​(java.lang.String name)
                                     throws java.lang.ClassNotFoundException
        Overrides:
        findClass in class java.lang.ClassLoader
        Throws:
        java.lang.ClassNotFoundException
      • getResource

        public java.net.URL getResource​(java.lang.String name)
        Overrides:
        getResource in class java.lang.ClassLoader
      • findResource

        protected java.net.URL findResource​(java.lang.String name)
        Overrides:
        findResource in class java.lang.ClassLoader
      • findResources

        protected java.util.Enumeration findResources​(java.lang.String name)
        Overrides:
        findResources in class java.lang.ClassLoader
      • findLibrary

        protected java.lang.String findLibrary​(java.lang.String name)
        Overrides:
        findLibrary in class java.lang.ClassLoader
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object