Class BundleDelegatingClassLoader
java.lang.Object
java.lang.ClassLoader
org.apache.openjpa.persistence.osgi.BundleDelegatingClassLoader
This is a simple ClassLoader that delegates to the Bundle
and is used by the PersistenceUnitInfo
- Version:
- $Rev$ $Date$
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Class<?>
protected URL
findResource
(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
-
Constructor Details
-
BundleDelegatingClassLoader
public BundleDelegatingClassLoader(org.osgi.framework.Bundle b)
-
-
Method Details
-
findClass
- Overrides:
findClass
in classClassLoader
- Throws:
ClassNotFoundException
-
findResource
- Overrides:
findResource
in classClassLoader
-
findResources
- Overrides:
findResources
in classClassLoader
- Throws:
IOException
-