public class ConnectorClassFinder extends ASURLClassLoader implements DelegatingClassLoader.ClassFinder
ASURLClassLoader.SentinelInputStream, ASURLClassLoader.URLEntrycurrentBeforeParentEnabled, PARENT_CLASSLOADER_DELEGATE_PROPERTYSET_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, toStringdisableCurrentBeforeParent, enableCurrentBeforeParent, enableCurrentBeforeParentUnconditional, isWhiteListed, isWhitelistEnabled, loadClassclose, definePackage, newInstance, newInstancedefineClass, defineClassclearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignersclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindResource, findResources, getParentpublic ConnectorClassFinder(ClassLoader parent, String raName, DelegatingClassLoader.ClassFinder finder)
public Class<?> findClass(String name) throws ClassNotFoundException
ASURLClassLoaderfindClass in interface DelegatingClassLoader.ClassFinderfindClass in class ASURLClassLoaderClassNotFoundExceptionClassLoader.findClass(String)public Class<?> findExistingClass(String name)
findExistingClass in interface DelegatingClassLoader.ClassFinderClassLoader.findLoadedClass(String)public String getResourceAdapterName()
public void setResourceAdapterName(String raName)
Copyright © 2019. All rights reserved.