Class SubWorld
java.lang.Object
org.jenkinsci.test.acceptance.guice.SubWorld
Represents a parallel Guice
Injector
inside World
so that components can be selectively bound to World
.
See WIRING.md
- Author:
- Kohsuke Kawaguchi
-
Method Summary
Modifier and TypeMethodDescription<T> com.google.inject.Provider<T>
This is a part of the DSL construct that allows people to say:com.google.inject.Injector
getName()
-
Method Details
-
getName
-
getInjector
public com.google.inject.Injector getInjector() -
getAt
This is a part of the DSL construct that allows people to say:subworld "masters" { ... bind Foo to ... } bind Foo toProvider masters[Foo] // export Foo from the "masters" subworld to the parent
-