public class ConnectorClassFinder extends ASURLClassLoader implements DelegatingClassLoader.ClassFinder
ASURLClassLoader.SentinelInputStream, ASURLClassLoader.URLEntry
currentBeforeParentEnabled, PARENT_CLASSLOADER_DELEGATE_PROPERTY
SET_EE_POLICY
Constructor and Description |
---|
ConnectorClassFinder(ClassLoader parent,
String raName,
DelegatingClassLoader.ClassFinder finder) |
Modifier and Type | Method and Description |
---|---|
Class<?> |
findClass(String name)
THREAD SAFETY: what happens when more than one thread requests the same class
and thus works on the same classData? Or defines the same package? Maybe
the same work just gets done twice, and that's all.
|
Class<?> |
findExistingClass(String name) |
String |
getResourceAdapterName() |
void |
setResourceAdapterName(String raName) |
addDeclaredPermissions, addEEPermissions, addTransformer, addURL, appendURL, appendURL, copy, done, findClassData, findResource, findResources, getClassLoaderName, getClasspath, getPermissions, getResourceAsStream, getURLs, isDone, preDestroy, refresh, toString
disableCurrentBeforeParent, enableCurrentBeforeParent, enableCurrentBeforeParentUnconditional, isWhiteListed, isWhitelistEnabled, loadClass
close, definePackage, newInstance, newInstance
defineClass, defineClass
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findResource, findResources, getParent
public ConnectorClassFinder(ClassLoader parent, String raName, DelegatingClassLoader.ClassFinder finder)
public Class<?> findClass(String name) throws ClassNotFoundException
ASURLClassLoader
findClass
in interface DelegatingClassLoader.ClassFinder
findClass
in class ASURLClassLoader
ClassNotFoundException
ClassLoader.findClass(String)
public Class<?> findExistingClass(String name)
findExistingClass
in interface DelegatingClassLoader.ClassFinder
ClassLoader.findLoadedClass(String)
public String getResourceAdapterName()
public void setResourceAdapterName(String raName)
Copyright © 2020. All rights reserved.