@Singleton public class DefaultApplication extends java.lang.Object implements Application
Constructor and Description |
---|
DefaultApplication(play.api.Application application,
Configuration configuration,
Injector injector)
Create an application that wraps a Scala application.
|
DefaultApplication(play.api.Application application,
Injector injector)
Create an application that wraps a Scala application.
|
Modifier and Type | Method and Description |
---|---|
Configuration |
configuration()
Get the application configuration.
|
play.api.Application |
getWrappedApplication()
Get the underlying Scala application.
|
Injector |
injector()
Get the injector for this application.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
classloader, getFile, isDev, isProd, isTest, path, plugin, resource, resourceAsStream
@Inject public DefaultApplication(play.api.Application application, Configuration configuration, Injector injector)
public DefaultApplication(play.api.Application application, Injector injector)
public play.api.Application getWrappedApplication()
getWrappedApplication
in interface Application
public Configuration configuration()
configuration
in interface Application
public Injector injector()
injector
in interface Application