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, newInstancedefineClass, defineClassclearAssertionStatus, 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, setSignerspublic 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 URLClassLoaderClassNotFoundExceptionpublic InputStream getResourceAsStream(String resourceName)
getResourceAsStream in class URLClassLoaderpublic String getLogName()
LoggableClassLoadergetLogName in interface LoggableClassLoaderpublic Class<?> getLoadedClass(String className) throws ClassNotFoundException
className - the name of the class to load.ClassNotFoundExceptionCopyright © GigaSpaces.