Packages

  • package root
    Definition Classes
    root
  • package play

    Play framework.

    Play framework.

    Play

    http://www.playframework.com

    Definition Classes
    root
  • package api

    Contains the public API for Scala developers.

    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)
    Definition Classes
    play
  • package core
    Definition Classes
    play
  • package filters
    Definition Classes
    play
  • package libs
    Definition Classes
    play
  • ReflectionsCache
  • package routing
    Definition Classes
    play
  • package server
    Definition Classes
    play
  • package twirl
    Definition Classes
    play
  • package utils
    Definition Classes
    play
p

play

libs

package libs

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Value Members

  1. object ReflectionsCache

    Provides a cache for reflections, so that classloader scanning over the same classloader for the same package multiple times doesn't need to be done.

    Provides a cache for reflections, so that classloader scanning over the same classloader for the same package multiple times doesn't need to be done.

    This is most useful in tests, when each test starts a new Application, and so things like Ebean scan the classloader for @Entity annotated classes in a given package. Profiling shows that without this cache, over 90% of a tests time might be spent in classpath scanning.

Ungrouped