public class LRMIClassLoader extends URLClassLoader implements LoggableClassLoader
Modifier and Type | Field and Description |
---|---|
static boolean |
FAIL_TO_CURRENT_CONNECTION_CLASS_LOADER |
Constructor and Description |
---|
LRMIClassLoader(IClassProvider classProvider,
ClassLoader parent,
ServiceClassLoaderContext serviceClassLoaderContext,
long remoteRemoteLrmiId,
long remoteClassLoaderId) |
Modifier and Type | Method and Description |
---|---|
protected Class<?> |
findClass(String className) |
Class<?> |
getLoadedClass(String className)
This is not guarded by a lock to a void a deadlock since this is called from a parent service
class loader
|
String |
getLogName()
A class loader that can provide a log name asspciated with it.
|
InputStream |
getResourceAsStream(String resourceName) |
String |
toString() |
addURL, close, definePackage, findResource, findResources, getPermissions, getURLs, newInstance, newInstance
defineClass, defineClass
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
public static final boolean FAIL_TO_CURRENT_CONNECTION_CLASS_LOADER
public LRMIClassLoader(IClassProvider classProvider, ClassLoader parent, ServiceClassLoaderContext serviceClassLoaderContext, long remoteRemoteLrmiId, long remoteClassLoaderId)
protected Class<?> findClass(String className) throws ClassNotFoundException
findClass
in class URLClassLoader
ClassNotFoundException
public InputStream getResourceAsStream(String resourceName)
getResourceAsStream
in class URLClassLoader
public String getLogName()
LoggableClassLoader
getLogName
in interface LoggableClassLoader
public Class<?> getLoadedClass(String className) throws ClassNotFoundException
className
- the name of the class to load.ClassNotFoundException
Copyright © GigaSpaces.