public class ServiceClassLoaderContext extends Object
LRMIClassLoader
s that associate to a specific service class loaderConstructor and Description |
---|
ServiceClassLoaderContext(String name) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
byte[] |
getClassBytes(String className) |
LRMIClassLoader |
getClassLoaderByClassName(String className) |
LRMIClassLoader |
getClassLoaderByClassNameNonBlocking(String className) |
LRMIClassLoader |
getClassLoaderByRemoteId(LRMIRemoteClassLoaderIdentifier identifier) |
LRMIClassLoader |
putClassBytesAndLoader(String className,
LRMIClassLoader lrmiClassLoader,
byte[] definition)
Associate a
LRMIClassLoader with the specified class name and definition |
LRMIClassLoader |
putClassLoaderByRemoteId(LRMIRemoteClassLoaderIdentifier identifier,
LRMIClassLoader lrmiClassLoader)
Associate a
LRMIClassLoader with the specified remote class loader id, if one
allready associated return it instead |
void |
removeClass(String className) |
void |
storeClassBytes(String className,
byte[] definition)
stores class bytes that represent the specified class name
|
String |
toString() |
public ServiceClassLoaderContext(String name)
public LRMIClassLoader getClassLoaderByClassNameNonBlocking(String className)
public LRMIClassLoader getClassLoaderByClassName(String className)
LRMIClassLoader
that loaded the specified class name or null if none
existspublic LRMIClassLoader getClassLoaderByRemoteId(LRMIRemoteClassLoaderIdentifier identifier)
LRMIClassLoader
that is connected to the specified remote class loader or
null if none existspublic LRMIClassLoader putClassLoaderByRemoteId(LRMIRemoteClassLoaderIdentifier identifier, LRMIClassLoader lrmiClassLoader)
LRMIClassLoader
with the specified remote class loader id, if one
allready associated return it insteadpublic LRMIClassLoader putClassBytesAndLoader(String className, LRMIClassLoader lrmiClassLoader, byte[] definition)
LRMIClassLoader
with the specified class name and definitionIllegalArgumentException
- if there's already a LRMIClassLoader
associated with
the specified class namepublic byte[] getClassBytes(String className)
public void storeClassBytes(String className, byte[] definition)
public void removeClass(String className)
public void clear()
Copyright © GigaSpaces.