Add a hook to run when the process shuts down
The command line arguments the process as invoked with
The ClassLoader that should be used
Exit the process with a message and optional cause and return code
The process's id
The process's system properties
Helper for getting properties
Abstracts a JVM process so it can be mocked for testing or to isolate pseudo-processes within a VM. Code using this class should use the methods in this class instead of methods like
System.getProperties()
,System.exit()
, etc.