Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (42 sloc) 909 Bytes
/*
* Copyright (C) 2009-2016 Lightbend Inc. <https://www.lightbend.com>
*/
/**
* Play framework.
*
* == Play ==
* [[http://www.playframework.com http://www.playframework.com]]
*/
package object play
package play {
/**
* Contains the public API for Scala developers.
*
* ==== Access the current Play application ====
* {{{
* import play.api.Play.current
* }}}
*
* ==== Read configuration ====
* {{{
* val poolSize = configuration.getInt("engine.pool.size")
* }}}
*
* ==== Use the logger ====
* {{{
* Logger.info("Hello!")
* }}}
*
* ==== Define a Plugin ====
* {{{
* class MyPlugin(app: Application) extends Plugin
* }}}
*
* ==== Create adhoc applications (for testing) ====
* {{{
* val application = Application(new File("."), this.getClass.getClassloader, None, Play.Mode.DEV)
* }}}
*
*/
package object api
}
Something went wrong with that request. Please try again.