Module org.eclipse.persistence.core
Class JPAClassLoaderHolder
java.lang.Object
org.eclipse.persistence.internal.helper.JPAClassLoaderHolder
INTERNAL:
This class is a composite object containing the classLoader and
a flag that is true if the classLoader returned is temporary.
JIRA EJBTHREE-572 requires that we use the real classLoader in place of the getNewTempClassLoader(). The override code should stay in place until the UCL3 loader does not throw a NPE on loadClass()
JIRA EJBTHREE-572 requires that we use the real classLoader in place of the getNewTempClassLoader(). The override code should stay in place until the UCL3 loader does not throw a NPE on loadClass()
-
Constructor Summary
ConstructorDescriptionJPAClassLoaderHolder
(ClassLoader aClassLoader) INTERNAL: Create an instance of JPAClassLoaderHolder that wraps aClassLoader that is an original call to get*ClassLoader().JPAClassLoaderHolder
(ClassLoader aClassLoader, boolean isThisTempClassLoader) INTERNAL: Create an instance of JPAClassLoaderHolder that wraps aClassLoader and the inUse boolean. -
Method Summary
Modifier and TypeMethodDescriptionINTERNAL:boolean
INTERNAL:
-
Constructor Details
-
JPAClassLoaderHolder
INTERNAL: Create an instance of JPAClassLoaderHolder that wraps aClassLoader that is an original call to get*ClassLoader(). -
JPAClassLoaderHolder
INTERNAL: Create an instance of JPAClassLoaderHolder that wraps aClassLoader and the inUse boolean.
-
-
Method Details
-
getClassLoader
INTERNAL:- Returns:
- the classLoader
-
isTempClassLoader
public boolean isTempClassLoader()INTERNAL:- Returns:
- boolean is true if this classLoader is temporary
-