public static class BundleWiringImpl.BundleClassLoader extends SecureClassLoader implements BundleReference
Constructor and Description |
---|
BundleWiringImpl.BundleClassLoader(BundleWiringImpl wiring,
ClassLoader parent) |
Modifier and Type | Method and Description |
---|---|
protected Class |
findClass(String name) |
protected String |
findLibrary(String name) |
protected URL |
findResource(String name) |
protected Enumeration |
findResources(String name) |
Bundle |
getBundle()
Returns the
Bundle object associated with this
BundleReference . |
URL |
getResource(String name) |
boolean |
isActivationTriggered() |
protected boolean |
isParallel() |
protected Class |
loadClass(String name,
boolean resolve) |
String |
toString() |
defineClass, defineClass, getPermissions
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
public BundleWiringImpl.BundleClassLoader(BundleWiringImpl wiring, ClassLoader parent)
protected boolean isParallel()
public boolean isActivationTriggered()
public Bundle getBundle()
BundleReference
Bundle
object associated with this
BundleReference
.getBundle
in interface BundleReference
Bundle
object associated with this
BundleReference
.protected Class loadClass(String name, boolean resolve) throws ClassNotFoundException
loadClass
in class ClassLoader
ClassNotFoundException
protected Class findClass(String name) throws ClassNotFoundException
findClass
in class ClassLoader
ClassNotFoundException
public URL getResource(String name)
getResource
in class ClassLoader
protected URL findResource(String name)
findResource
in class ClassLoader
protected Enumeration findResources(String name)
findResources
in class ClassLoader
protected String findLibrary(String name)
findLibrary
in class ClassLoader
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.