package guice
- Alphabetic
- Public
- Protected
Type Members
- sealed abstract class BinderOption extends (Binder) => Unit
- final case class GuiceApplicationBuilder(environment: Environment = Environment.simple(), configuration: Configuration = Configuration.empty, modules: Seq[GuiceableModule] = Seq.empty, overrides: Seq[GuiceableModule] = Seq.empty, disabled: Seq[Class[_]] = Seq.empty, binderOptions: Set[BinderOption] = BinderOption.defaults, eagerly: Boolean = false, loadConfiguration: (Environment) => Configuration = Configuration.load, loadModules: (Environment, Configuration) => Seq[GuiceableModule] = GuiceableModule.loadModules) extends GuiceBuilder[GuiceApplicationBuilder] with Product with Serializable
A builder for creating Applications using Guice.
- class GuiceApplicationLoader extends ApplicationLoader
An ApplicationLoader that uses Guice to bootstrap the application.
An ApplicationLoader that uses Guice to bootstrap the application.
Subclasses can override the
builder
andoverrides
methods. - abstract class GuiceBuilder[Self] extends AnyRef
A builder for creating Guice-backed Play Injectors.
- class GuiceClassLoader extends AnyRef
An object that holds a
ClassLoader
for Guice to use.An object that holds a
ClassLoader
for Guice to use. We use this simple value object so it can be looked up by its type when we're assembling the Guice injector. - class GuiceInjector extends Injector
Play Injector backed by a Guice Injector.
- final class GuiceInjectorBuilder extends GuiceBuilder[GuiceInjectorBuilder]
Default empty builder for creating Guice-backed Injectors.
- class GuiceInjectorWithClassLoaderProvider extends Provider[Injector]
A provider for a Guice injector that wraps the injector to ensure it uses the correct
ClassLoader
. - class GuiceLoadException extends RuntimeException
- trait GuiceableModule extends AnyRef
Magnet pattern for creating Guice modules from Play modules or bindings.
- trait GuiceableModuleConversions extends AnyRef
Implicit conversions to GuiceableModules.
Value Members
- object BinderOption
- object GuiceApplicationLoader
- object GuiceKey
Conversion from Play BindingKey to Guice Key.
- object GuiceableModule extends GuiceableModuleConversions
Loading and converting Guice modules.