o

play.core.server

ProdServerStart

object ProdServerStart

Used to start servers in 'prod' mode, the mode that is used in production. The application is loaded and started immediately.

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

Value Members

  1. def createPidFile(process: ServerProcess, configuration: Configuration): Option[File]

    Create a pid file for the current process.

  2. def main(args: Array[String]): Unit

    Start a prod mode server from the command line.

  3. def readServerConfigSettings(process: ServerProcess): ServerConfig

    Read the server config from the current process's command line args and system properties.

  4. def start(process: ServerProcess): ReloadableServer

    Starts a Play server and application for the given process.

    Starts a Play server and application for the given process. The settings for the server are based on values passed on the command line and in various system properties. Crash out by exiting the given process if there are any problems.

    process

    The process (real or abstract) to use for starting the server.