Class cornell.slk.jkernel.std.StartData
Source code
java.lang.Object
|
+----cornell.slk.jkernel.std.StartData
- public class StartData
- extends java.lang.Object
- implements FastCopyTree
StartData contains a number of resources that the first
user task can use. These are particularly useful when
launching other tasks. Be warned that some of these
fields contain dangerous objects that should be guarded
closely.
All of the resolvers and streams in StartData are
capabilities, so that they can be passed around to
other tasks.
Methods inherited from class java.lang.Object
|
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
mainClass
public java.lang.String mainClass
- The name of the class used to start the user's first task
args
public java.lang.String[] args
- The command-line arguments passed to the user's first task
remoteOut
public RemoteOutputStream remoteOut
- A stream connected to System.out
remoteErr
public RemoteOutputStream remoteErr
- A stream connected to System.err
remoteIn
public RemoteInputStream remoteIn
- A stream connected to System.in
standardSystemClasses
public Resolver standardSystemClasses
- The standard, "safe" system classes that may be used by anyone
standardLibClasses
public Resolver standardLibClasses
- Several commonly used classes, including replacements for some java.lang classes, and stuff in jkernel.util
standardResolver
public Resolver standardResolver
- A compound resolver containing both standardSystemClasses and standardLibClasses
mainResolver
public Resolver mainResolver
- The resolver that was used to load bytecode for the main class
(by default, this is a FileResolver based on the system class path).
reflectionSystemClasses
public Resolver reflectionSystemClasses
- A resolver that returns system classes in java.lang.reflect
fileSystemClasses
public Resolver fileSystemClasses
- A resolver that returns the system classes in java.io that deal with files
systemRuntimeDangerousClasses
public Resolver systemRuntimeDangerousClasses
- A resolver that returns class SystemRuntimeDangerous, which holds all the dangerous functions in System and Runtime
netSystemClasses
public Resolver netSystemClasses
- A resolver that returns system classes in java.net
allSystemClasses
public Resolver allSystemClasses
- All the system classes installed in the system. Use at your
own risk. If you must use this, we recommend filtering
it with a FilterResolver so that you only get the system
classes that you absolutely need, and nothing more. We
don't like system classes.
StartData
public StartData()