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, getPermissionsclearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignerspublic BundleWiringImpl.BundleClassLoader(BundleWiringImpl wiring, ClassLoader parent)
protected boolean isParallel()
public boolean isActivationTriggered()
public Bundle getBundle()
BundleReferenceBundle object associated with this
BundleReference.getBundle in interface BundleReferenceBundle object associated with this
BundleReference.protected Class loadClass(String name, boolean resolve) throws ClassNotFoundException
loadClass in class ClassLoaderClassNotFoundExceptionprotected Class findClass(String name) throws ClassNotFoundException
findClass in class ClassLoaderClassNotFoundExceptionpublic URL getResource(String name)
getResource in class ClassLoaderprotected URL findResource(String name)
findResource in class ClassLoaderprotected Enumeration findResources(String name)
findResources in class ClassLoaderprotected String findLibrary(String name)
findLibrary in class ClassLoaderCopyright © 2007–2016 The Apache Software Foundation. All rights reserved.