|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Habitat | |
|---|---|
| com.sun.hk2.component | Dependency injection implementation for HK2. |
| org.jvnet.hk2.component | Primary API surface of HK2. Start with Habitat. |
| Uses of Habitat in com.sun.hk2.component |
|---|
| Fields in com.sun.hk2.component declared as Habitat | |
|---|---|
protected Habitat |
LazyInhabitant.habitat
|
Habitat |
InhabitantsParser.habitat
|
| Methods in com.sun.hk2.component with parameters of type Habitat | |
|---|---|
static LazyInhabitant |
CompanionSeed.Registerer.createCompanion(Habitat habitat,
Inhabitant<?> lead,
Inhabitant<?> seed)
Creates a companion inhabitant from the inhabitant of a CompanionSeed,
to be associated with a lead component. |
protected void |
AbstractWombImpl.inject(Habitat habitat,
T t,
Inhabitant onBehalfOf)
Performs resource injection on the given instance from the given habitat. |
| Constructors in com.sun.hk2.component with parameters of type Habitat | |
|---|---|
CompanionSeed.Registerer(Habitat habitat)
|
|
ConstructorWomb(java.lang.Class<T> type,
Habitat habitat,
MultiMap<java.lang.String,java.lang.String> metadata)
|
|
FactoryWomb(java.lang.Class<T> type,
java.lang.Class<? extends Factory> factory,
Habitat habitat,
MultiMap<java.lang.String,java.lang.String> metadata)
|
|
FactoryWomb(java.lang.Class<T> type,
Inhabitant<? extends Factory> factory,
Habitat habitat,
MultiMap<java.lang.String,java.lang.String> metadata)
|
|
InhabitantsParser(Habitat habitat)
|
|
LazyInhabitant(Habitat habitat,
Holder<java.lang.ClassLoader> cl,
java.lang.String typeName,
MultiMap<java.lang.String,java.lang.String> metadata)
|
|
| Uses of Habitat in org.jvnet.hk2.component |
|---|
| Methods in org.jvnet.hk2.component with parameters of type Habitat | ||
|---|---|---|
static
|
Wombs.create(java.lang.Class<T> c,
Habitat habitat,
MultiMap<java.lang.String,java.lang.String> metadata)
|
|
static
|
Inhabitants.create(java.lang.Class<T> c,
Habitat habitat,
MultiMap<java.lang.String,java.lang.String> metadata)
Creates a Inhabitant by looking at annotations of the given type. |
|
static
|
Inhabitants.wrapByScope(java.lang.Class<T> c,
Womb<T> womb,
Habitat habitat)
Creates a Inhabitant by wrapping Womb to handle scoping right. |
|
| Constructors in org.jvnet.hk2.component with parameters of type Habitat | |
|---|---|
CageBuilder.Registerer(Habitat habitat)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||