c

play.core.server

RealServerProcess

class RealServerProcess extends ServerProcess

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

Source
ServerProcess.scala
Linear Supertypes
ServerProcess, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RealServerProcess
  2. ServerProcess
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RealServerProcess(args: Seq[String])

Value Members

  1. 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

    Definition Classes
    RealServerProcessServerProcess
  2. val args: Seq[String]

    The command line arguments the process as invoked with

    The command line arguments the process as invoked with

    Definition Classes
    RealServerProcessServerProcess
  3. def classLoader: ClassLoader

    The ClassLoader that should be used

    The ClassLoader that should be used

    Definition Classes
    RealServerProcessServerProcess
  4. def exit(message: String, cause: Option[Throwable] = None, returnCode: Int = -1): 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

    Definition Classes
    RealServerProcessServerProcess
  5. def pid: Option[String]

    The process's id

    The process's id

    Definition Classes
    RealServerProcessServerProcess
  6. final def prop(name: String): Option[String]

    Helper for getting properties

    Helper for getting properties

    Definition Classes
    ServerProcess
  7. def properties: Properties

    The process's system properties

    The process's system properties

    Definition Classes
    RealServerProcessServerProcess