Package akka.osgi
Class BundleDelegatingClassLoader
- java.lang.Object
-
- java.lang.ClassLoader
-
- akka.osgi.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
-
-
-
-
Method Detail
-
apply
public static BundleDelegatingClassLoader apply(org.osgi.framework.BundleContext context)
-
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 classjava.lang.ClassLoader
-
findResource
public java.net.URL findResource(java.lang.String name)
- Overrides:
findResource
in classjava.lang.ClassLoader
-
findResources
public java.util.Enumeration<java.net.URL> findResources(java.lang.String name)
- Overrides:
findResources
in classjava.lang.ClassLoader
-
-