c

play.api

DefaultApplication

class DefaultApplication extends Application

Annotations
@Singleton()
Source
Application.scala
Linear Supertypes
Application, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DefaultApplication
  2. Application
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DefaultApplication(environment: Environment, applicationLifecycle: ApplicationLifecycle, injector: Injector, configuration: Configuration, requestFactory: RequestFactory, requestHandler: HttpRequestHandler, errorHandler: HttpErrorHandler, actorSystem: ActorSystem, materializer: Materializer)
  2. new DefaultApplication(environment: Environment, applicationLifecycle: ApplicationLifecycle, injector: Injector, configuration: Configuration, requestFactory: RequestFactory, requestHandler: HttpRequestHandler, errorHandler: HttpErrorHandler, actorSystem: ActorSystem, materializer: Materializer, coordinatedShutdown: CoordinatedShutdown)
    Annotations
    @Inject()

Value Members

  1. val actorSystem: ActorSystem

    The default ActorSystem used by the application.

    The default ActorSystem used by the application.

    Definition Classes
    Application
  2. def asJava: play.Application

    Return the application as a Java application.

    Return the application as a Java application.

    Definition Classes
    Application
  3. def classloader: ClassLoader

    The application's classloader

    The application's classloader

    Definition Classes
    Application
  4. val configuration: Configuration
    Definition Classes
    Application
  5. val coordinatedShutdown: CoordinatedShutdown

    The default CoordinatedShutdown to stop the Application

    The default CoordinatedShutdown to stop the Application

    Definition Classes
    Application
  6. val environment: Environment

    The application's environment

    The application's environment

    Definition Classes
    Application
  7. val errorHandler: HttpErrorHandler

    The HTTP error handler

    The HTTP error handler

    Definition Classes
    Application
  8. lazy val globalApplicationEnabled: Boolean

    Returns true if the global application is enabled for this app.

    Returns true if the global application is enabled for this app. If set to false, this changes the behavior of Play.start to disallow access to the global application instance, also affecting the deprecated Play APIs that use these.

    Definition Classes
    Application
  9. val injector: Injector

    Get the runtime injector for this application.

    Get the runtime injector for this application. In a runtime dependency injection based application, this can be used to obtain components as bound by the DI framework.

    returns

    The injector.

    Definition Classes
    Application
  10. val materializer: Materializer

    The default Materializer used by the application.

    The default Materializer used by the application.

    Definition Classes
    Application
  11. def mode: Mode

    Dev, Prod or Test

    Dev, Prod or Test

    Definition Classes
    Application
  12. def path: File

    The absolute path hosting this application, mainly used by the getFile(path) helper method

    The absolute path hosting this application, mainly used by the getFile(path) helper method

    Definition Classes
    Application
  13. val requestFactory: RequestFactory

    The factory used to create requests for this application.

    The factory used to create requests for this application.

    Definition Classes
    Application
  14. val requestHandler: HttpRequestHandler

    The HTTP request handler

    The HTTP request handler

    Definition Classes
    Application
  15. def stop(): Future[_]

    Stop the application.

    Stop the application. The returned future will be redeemed when all stop hooks have been run.

    Definition Classes
    Application