private static class NodeClassLoader.LoaderThread extends java.lang.Object implements CSProcess
Modifier and Type | Field and Description |
---|---|
private ClassManager |
classManager
The class manager for managing classes dynamically loaded by this node.
|
private AltingChannelInput |
classRequest
Requests for classes will be received on this channel.
|
private ChannelOutput |
classResponse
When classes have arrived they will be passed out on this channel.
|
private java.lang.ClassLoader |
deferredLoader
The class loader owning this process which should be associated with classes marked as
pending.
|
private NetChannelLocation |
sourceChannelLocation
Location of a JFTP process request channel.
|
Constructor and Description |
---|
LoaderThread(NetChannelLocation sourceChannelLocation,
AltingChannelInput classRequest,
ChannelOutput classResponse,
java.lang.ClassLoader deferredLoader,
ClassManager classManager)
Constructs a new
LoaderThread . |
Modifier and Type | Method and Description |
---|---|
void |
run()
Main process loop, servicing requests for classes from this node and receiving class replies
from the JFTP process of a remote node.
|
private final NetChannelLocation sourceChannelLocation
private final AltingChannelInput classRequest
private final ChannelOutput classResponse
private final java.lang.ClassLoader deferredLoader
private final ClassManager classManager
public LoaderThread(NetChannelLocation sourceChannelLocation, AltingChannelInput classRequest, ChannelOutput classResponse, java.lang.ClassLoader deferredLoader, ClassManager classManager)
LoaderThread
.sourceChannelLocation
- location of a JFTP process request channel.classRequest
- requests for classes will be received on this channel.classResponse
- when classes have arrived they will be passed out on this channel.deferredLoader
- the class loader that owns this process which will be associated with
pending classes found in a manifest response.classManager
- the class manager for managing classes dynamically loaded by this node.