Package play.inject.guice
Class GuiceInjectorBuilder
- Object
-
- play.inject.guice.GuiceBuilder<GuiceInjectorBuilder,play.api.inject.guice.GuiceInjectorBuilder>
-
- play.inject.guice.GuiceInjectorBuilder
-
public final class GuiceInjectorBuilder extends GuiceBuilder<GuiceInjectorBuilder,play.api.inject.guice.GuiceInjectorBuilder>
Default empty builder for creating Guice-backed Injectors.
-
-
Field Summary
-
Fields inherited from class play.inject.guice.GuiceBuilder
delegate
-
-
Constructor Summary
Constructors Constructor Description GuiceInjectorBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Injector
build()
Create a Play Injector backed by Guice using this configured builder.protected GuiceInjectorBuilder
newBuilder(play.api.inject.guice.GuiceInjectorBuilder builder)
-
-
-
Method Detail
-
newBuilder
protected GuiceInjectorBuilder newBuilder(play.api.inject.guice.GuiceInjectorBuilder builder)
- Specified by:
newBuilder
in classGuiceBuilder<GuiceInjectorBuilder,play.api.inject.guice.GuiceInjectorBuilder>
-
build
public Injector build()
Create a Play Injector backed by Guice using this configured builder.- Returns:
- the injector
-
-