RealServerProcess

play.core.server.RealServerProcess
class RealServerProcess(val args: Seq[String]) extends ServerProcess

A ServerProcess that wraps a real JVM process. Calls have a real effect on the JVM, e.g. exit calls System.exit.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def addShutdownHook(hook: => Unit): Unit

Add a hook to run when the process shuts down

Add a hook to run when the process shuts down

Attributes

def classLoader: ClassLoader

The ClassLoader that should be used

The ClassLoader that should be used

Attributes

def exit(message: String, cause: Option[Throwable], returnCode: Int): Nothing

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

def pid: Option[String]

The process's id

The process's id

Attributes

def properties: Properties

The process's system properties

The process's system properties

Attributes

Inherited methods

final def prop(name: String): Option[String]

Helper for getting properties

Helper for getting properties

Attributes

Inherited from:
ServerProcess

Concrete fields

val args: Seq[String]

The command line arguments the process as invoked with

The command line arguments the process as invoked with

Attributes