public class GuiceApplicationLoader extends java.lang.Object implements ApplicationLoader
builder
and overrides
methods.ApplicationLoader.Context
Modifier and Type | Field and Description |
---|---|
protected GuiceApplicationBuilder |
initialBuilder
The initial builder to start construction from.
|
Constructor and Description |
---|
GuiceApplicationLoader() |
GuiceApplicationLoader(GuiceApplicationBuilder initialBuilder) |
Modifier and Type | Method and Description |
---|---|
GuiceApplicationBuilder |
builder(ApplicationLoader.Context context)
Construct a builder to use for loading the given context.
|
Application |
load(ApplicationLoader.Context context)
Load an application given the context.
|
protected play.api.inject.guice.GuiceableModule[] |
overrides(ApplicationLoader.Context context)
Override some bindings using information from the context.
|
protected final GuiceApplicationBuilder initialBuilder
public GuiceApplicationLoader()
public GuiceApplicationLoader(GuiceApplicationBuilder initialBuilder)
public final Application load(ApplicationLoader.Context context)
ApplicationLoader
load
in interface ApplicationLoader
public GuiceApplicationBuilder builder(ApplicationLoader.Context context)
protected play.api.inject.guice.GuiceableModule[] overrides(ApplicationLoader.Context context)