GuiceInjectorBuilder
Default empty builder for creating Guice-backed Injectors.
Attributes
- Graph
-
- Supertypes
Members list
Value members
Constructors
Inherited methods
Create a Play Injector backed by Guice using this configured builder.
Create a Play Injector backed by Guice using this configured builder.
Attributes
- Inherited from:
- GuiceBuilder
Add Guice modules, Play modules, or Play bindings.
Add Guice modules, Play modules, or Play bindings.
Attributes
- See also
-
GuiceableModuleConversions for the automatically available implicit conversions to GuiceableModule from modules and bindings.
- Inherited from:
- GuiceBuilder
Add additional configuration.
Add additional configuration.
Add additional configuration.
Creation of the Guice Module used by the injector. Libraries like Guiceberry and Jukito that want to handle injector creation may find this helpful.
Creation of the Guice Module used by the injector. Libraries like Guiceberry and Jukito that want to handle injector creation may find this helpful.
Attributes
- Inherited from:
- GuiceBuilder
Disable module by class.
Disable modules by class.
Disable circular proxies on the Guice Binder. Without this option, Guice will try to proxy interfaces/traits to break a circular dependency.
Disable circular proxies on the Guice Binder. Without this option, Guice will try to proxy interfaces/traits to break a circular dependency.
Circular proxies are disabled by default. Use disableCircularProxies(false) to allow circular proxies.
Attributes
- Inherited from:
- GuiceBuilder
Set the dependency initialization to eager.
Set the environment class loader.
Set the environment mode.
Set the environment path.
Set the environment.
Create a Play Injector backed by Guice using this configured builder.
Create a Play Injector backed by Guice using this configured builder.
Attributes
- Inherited from:
- GuiceBuilder
Override bindings using Guice modules, Play modules, or Play bindings.
Override bindings using Guice modules, Play modules, or Play bindings.
Attributes
- See also
-
GuiceableModuleConversions for the automatically available implicit conversions to GuiceableModule from modules and bindings.
- Inherited from:
- GuiceBuilder
Require @Inject on constructors (even default constructors).
Require @Inject on constructors (even default constructors).
This option is disabled by default.
Attributes
- Inherited from:
- GuiceBuilder
Requires that Guice finds an exactly matching binding annotation.
Requires that Guice finds an exactly matching binding annotation.
Disables the error-prone feature in Guice where it can substitute a binding for @Named Foo when injecting @Named("foo") Foo.
This option is disabled by default.``
Attributes
- Inherited from:
- GuiceBuilder
Instructs the injector to only inject classes that are explicitly bound in a module.
Instructs the injector to only inject classes that are explicitly bound in a module.
This option is disabled by default.
Attributes
- Inherited from:
- GuiceBuilder