Package akka.osgi

Class BundleDelegatingClassLoader


  • public class BundleDelegatingClassLoader
    extends java.lang.ClassLoader
    • Constructor Summary

      Constructors 
      Constructor Description
      BundleDelegatingClassLoader​(org.osgi.framework.Bundle bundle, java.lang.ClassLoader fallBackClassLoader)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static BundleDelegatingClassLoader apply​(org.osgi.framework.BundleContext context)  
      static BundleDelegatingClassLoader apply​(org.osgi.framework.BundleContext context, scala.Option<java.lang.ClassLoader> fallBackCLassLoader)  
      java.lang.Class<?> findClass​(java.lang.String name)  
      java.net.URL findResource​(java.lang.String name)  
      java.util.Enumeration<java.net.URL> findResources​(java.lang.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
      • Methods inherited from class java.lang.Object

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

      • BundleDelegatingClassLoader

        public BundleDelegatingClassLoader​(org.osgi.framework.Bundle bundle,
                                           java.lang.ClassLoader fallBackClassLoader)
    • Method Detail

      • apply

        public static BundleDelegatingClassLoader apply​(org.osgi.framework.BundleContext context,
                                                        scala.Option<java.lang.ClassLoader> fallBackCLassLoader)
      • findClass

        public java.lang.Class<?> findClass​(java.lang.String name)
        Overrides:
        findClass in class java.lang.ClassLoader
      • findResource

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

        public java.util.Enumeration<java.net.URL> findResources​(java.lang.String name)
        Overrides:
        findResources in class java.lang.ClassLoader