Package org.apache.cxf.bus.blueprint
Class BundleDelegatingClassLoader
- java.lang.Object
- 
- java.lang.ClassLoader
- 
- org.apache.cxf.bus.blueprint.BundleDelegatingClassLoader
 
 
- 
 public class BundleDelegatingClassLoader extends ClassLoader A ClassLoader delegating to a given OSGi bundle.
- 
- 
Constructor SummaryConstructors Constructor Description BundleDelegatingClassLoader(org.osgi.framework.Bundle bundle)BundleDelegatingClassLoader(org.osgi.framework.Bundle bundle, ClassLoader classLoader)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Class<?>findClass(String name)protected URLfindResource(String name)protected Enumeration<URL>findResources(String name)org.osgi.framework.BundlegetBundle()protected Class<?>loadClass(String name, boolean resolve)- 
Methods inherited from class java.lang.ClassLoaderclearAssertionStatus, 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, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
 
- 
 
- 
- 
- 
Constructor Detail- 
BundleDelegatingClassLoaderpublic BundleDelegatingClassLoader(org.osgi.framework.Bundle bundle) 
 - 
BundleDelegatingClassLoaderpublic BundleDelegatingClassLoader(org.osgi.framework.Bundle bundle, ClassLoader classLoader)
 
- 
 - 
Method Detail- 
findClassprotected Class<?> findClass(String name) throws ClassNotFoundException - Overrides:
- findClassin class- ClassLoader
- Throws:
- ClassNotFoundException
 
 - 
findResourceprotected URL findResource(String name) - Overrides:
- findResourcein class- ClassLoader
 
 - 
findResourcesprotected Enumeration<URL> findResources(String name) throws IOException - Overrides:
- findResourcesin class- ClassLoader
- Throws:
- IOException
 
 - 
loadClassprotected Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException - Overrides:
- loadClassin class- ClassLoader
- Throws:
- ClassNotFoundException
 
 - 
getBundlepublic org.osgi.framework.Bundle getBundle() 
 
- 
 
-