Package org.apache.cxf.bus.blueprint
Class BundleDelegatingClassLoader
java.lang.Object
java.lang.ClassLoader
org.apache.cxf.bus.blueprint.BundleDelegatingClassLoader
A ClassLoader delegating to a given OSGi bundle.
-
Constructor Summary
ConstructorsConstructorDescriptionBundleDelegatingClassLoader(org.osgi.framework.Bundle bundle) BundleDelegatingClassLoader(org.osgi.framework.Bundle bundle, ClassLoader classLoader) -
Method Summary
Modifier and TypeMethodDescriptionprotected Class<?>protected URLfindResource(String name) protected Enumeration<URL>findResources(String name) org.osgi.framework.Bundleprotected Class<?>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, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
Constructor Details
-
BundleDelegatingClassLoader
public BundleDelegatingClassLoader(org.osgi.framework.Bundle bundle) -
BundleDelegatingClassLoader
-
-
Method Details
-
findClass
- Overrides:
findClassin classClassLoader- Throws:
ClassNotFoundException
-
findResource
- Overrides:
findResourcein classClassLoader
-
findResources
- Overrides:
findResourcesin classClassLoader- Throws:
IOException
-
loadClass
- Overrides:
loadClassin classClassLoader- Throws:
ClassNotFoundException
-
getBundle
public org.osgi.framework.Bundle getBundle()
-