Class BundleDelegatingClassLoader
- java.lang.Object
 - 
- java.lang.ClassLoader
 - 
- org.apache.openjpa.persistence.osgi.BundleDelegatingClassLoader
 
 
 
- 
public class BundleDelegatingClassLoader extends ClassLoader
This is a simple ClassLoader that delegates to the Bundle and is used by the PersistenceUnitInfo- Version:
 - $Rev$ $Date$
 
 
- 
- 
Constructor Summary
Constructors Constructor Description BundleDelegatingClassLoader(org.osgi.framework.Bundle b) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Class<?>findClass(String className)protected URLfindResource(String resName)protected Enumeration<URL>findResources(String resName)- 
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
- 
findClass
protected Class<?> findClass(String className) throws ClassNotFoundException
- Overrides:
 findClassin classClassLoader- Throws:
 ClassNotFoundException
 
- 
findResource
protected URL findResource(String resName)
- Overrides:
 findResourcein classClassLoader
 
- 
findResources
protected Enumeration<URL> findResources(String resName) throws IOException
- Overrides:
 findResourcesin classClassLoader- Throws:
 IOException
 
 - 
 
 -