play.core.server.ServerProcess
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.
Attributes
Graph
Reset zoom Hide graph Show graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Members list
Add a hook to run when the process shuts down
Add a hook to run when the process shuts down
Attributes
The command line arguments the process as invoked with
The command line arguments the process as invoked with
Attributes
The ClassLoader that should be used
The ClassLoader that should be used
Attributes
Exit the process with a message and optional cause and return code
Exit the process with a message and optional cause and return code
Attributes
The process's system properties
The process's system properties
Attributes
Helper for getting properties
Helper for getting properties
Attributes