public interface Application
Application creation is handled by the framework engine.
Modifier and Type | Method and Description |
---|---|
play.api.Application |
asScala()
Get the application as a Scala application.
|
default java.lang.ClassLoader |
classloader()
Get the application classloader.
|
com.typesafe.config.Config |
config()
Get the application configuration.
|
play.api.Application |
getWrappedApplication()
Get the underlying Scala application.
|
Injector |
injector()
Get the runtime injector for this application.
|
default boolean |
isDev()
Check whether the application is in
Mode.DEV mode. |
default boolean |
isProd()
Check whether the application is in
Mode.PROD mode. |
default boolean |
isTest()
Check whether the application is in
Mode.TEST mode. |
default java.io.File |
path()
Get the application path.
|
play.api.Application getWrappedApplication()
method
play.api.Application asScala()
Application
com.typesafe.config.Config config()
Injector injector()
default java.io.File path()
default java.lang.ClassLoader classloader()
default boolean isDev()
Mode.DEV
mode.default boolean isProd()
Mode.PROD
mode.default boolean isTest()
Mode.TEST
mode.