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)  
      static void clearAssertionStatus()  
      protected static java.lang.Class<?> defineClass​(byte[] x$1, int x$2, int x$3)  
      protected static java.lang.Class<?> defineClass​(java.lang.String x$1, byte[] x$2, int x$3, int x$4)  
      protected static java.lang.Class<?> defineClass​(java.lang.String x$1, byte[] x$2, int x$3, int x$4, java.security.ProtectionDomain x$5)  
      protected static java.lang.Class<?> defineClass​(java.lang.String x$1, java.nio.ByteBuffer x$2, java.security.ProtectionDomain x$3)  
      protected static java.lang.Package definePackage​(java.lang.String x$1, java.lang.String x$2, java.lang.String x$3, java.lang.String x$4, java.lang.String x$5, java.lang.String x$6, java.lang.String x$7, java.net.URL x$8)  
      java.lang.Class<?> findClass​(java.lang.String name)  
      protected static java.lang.String findLibrary​(java.lang.String x$1)  
      protected static java.lang.Class<?> findLoadedClass​(java.lang.String x$1)  
      java.net.URL findResource​(java.lang.String name)  
      java.util.Enumeration<java.net.URL> findResources​(java.lang.String name)  
      protected static java.lang.Class<?> findSystemClass​(java.lang.String x$1)  
      protected static java.lang.Object getClassLoadingLock​(java.lang.String x$1)  
      protected static java.lang.Package getPackage​(java.lang.String x$1)  
      protected static java.lang.Package[] getPackages()  
      static java.lang.ClassLoader getParent()  
      static java.net.URL getResource​(java.lang.String x$1)  
      static java.io.InputStream getResourceAsStream​(java.lang.String x$1)  
      static java.util.Enumeration<java.net.URL> getResources​(java.lang.String x$1)  
      static java.lang.Class<?> loadClass​(java.lang.String x$1)  
      protected static java.lang.Class<?> loadClass​(java.lang.String x$1, boolean x$2)  
      protected static void resolveClass​(java.lang.Class<?> x$1)  
      static void setClassAssertionStatus​(java.lang.String x$1, boolean x$2)  
      static void setDefaultAssertionStatus​(boolean x$1)  
      static void setPackageAssertionStatus​(java.lang.String x$1, boolean x$2)  
      protected static void setSigners​(java.lang.Class<?> x$1, java.lang.Object[] x$2)  
      • 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)
      • loadClass

        public static java.lang.Class<?> loadClass​(java.lang.String x$1)
                                            throws java.lang.ClassNotFoundException
        Throws:
        java.lang.ClassNotFoundException
      • loadClass

        protected static java.lang.Class<?> loadClass​(java.lang.String x$1,
                                                      boolean x$2)
                                               throws java.lang.ClassNotFoundException
        Throws:
        java.lang.ClassNotFoundException
      • getClassLoadingLock

        protected static java.lang.Object getClassLoadingLock​(java.lang.String x$1)
      • defineClass

        protected static final java.lang.Class<?> defineClass​(byte[] x$1,
                                                              int x$2,
                                                              int x$3)
                                                       throws java.lang.ClassFormatError
        Throws:
        java.lang.ClassFormatError
      • defineClass

        protected static final java.lang.Class<?> defineClass​(java.lang.String x$1,
                                                              byte[] x$2,
                                                              int x$3,
                                                              int x$4)
                                                       throws java.lang.ClassFormatError
        Throws:
        java.lang.ClassFormatError
      • defineClass

        protected static final java.lang.Class<?> defineClass​(java.lang.String x$1,
                                                              byte[] x$2,
                                                              int x$3,
                                                              int x$4,
                                                              java.security.ProtectionDomain x$5)
                                                       throws java.lang.ClassFormatError
        Throws:
        java.lang.ClassFormatError
      • defineClass

        protected static final java.lang.Class<?> defineClass​(java.lang.String x$1,
                                                              java.nio.ByteBuffer x$2,
                                                              java.security.ProtectionDomain x$3)
                                                       throws java.lang.ClassFormatError
        Throws:
        java.lang.ClassFormatError
      • resolveClass

        protected static final void resolveClass​(java.lang.Class<?> x$1)
      • findSystemClass

        protected static final java.lang.Class<?> findSystemClass​(java.lang.String x$1)
                                                           throws java.lang.ClassNotFoundException
        Throws:
        java.lang.ClassNotFoundException
      • findLoadedClass

        protected static final java.lang.Class<?> findLoadedClass​(java.lang.String x$1)
      • setSigners

        protected static final void setSigners​(java.lang.Class<?> x$1,
                                               java.lang.Object[] x$2)
      • getResource

        public static java.net.URL getResource​(java.lang.String x$1)
      • getResources

        public static java.util.Enumeration<java.net.URL> getResources​(java.lang.String x$1)
                                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • getResourceAsStream

        public static java.io.InputStream getResourceAsStream​(java.lang.String x$1)
      • getParent

        public static final java.lang.ClassLoader getParent()
      • definePackage

        protected static java.lang.Package definePackage​(java.lang.String x$1,
                                                         java.lang.String x$2,
                                                         java.lang.String x$3,
                                                         java.lang.String x$4,
                                                         java.lang.String x$5,
                                                         java.lang.String x$6,
                                                         java.lang.String x$7,
                                                         java.net.URL x$8)
                                                  throws java.lang.IllegalArgumentException
        Throws:
        java.lang.IllegalArgumentException
      • getPackage

        protected static java.lang.Package getPackage​(java.lang.String x$1)
      • getPackages

        protected static java.lang.Package[] getPackages()
      • findLibrary

        protected static java.lang.String findLibrary​(java.lang.String x$1)
      • setDefaultAssertionStatus

        public static void setDefaultAssertionStatus​(boolean x$1)
      • setPackageAssertionStatus

        public static void setPackageAssertionStatus​(java.lang.String x$1,
                                                     boolean x$2)
      • setClassAssertionStatus

        public static void setClassAssertionStatus​(java.lang.String x$1,
                                                   boolean x$2)
      • clearAssertionStatus

        public static void clearAssertionStatus()
      • 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