|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jvnet.hk2.component.Inhabitants
Inhabitants
instead.
@Deprecated public class Inhabitants
Factory for Inhabitant
.
Constructor Summary | |
---|---|
Inhabitants()
Deprecated. |
Method Summary | ||
---|---|---|
static
|
create(Class<T> c,
Habitat habitat,
Map<String,List<String>> metadata)
Deprecated. Use Inhabitants instead. |
|
static
|
create(T instance)
Deprecated. Use Inhabitants instead. |
|
static
|
getNamesFor(Inhabitant<T> i,
String indexName)
Deprecated. Use Inhabitants instead. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Inhabitants()
Method Detail |
---|
public static <T> Inhabitant<T> create(T instance)
Inhabitants
instead.
public static <T> Inhabitant<T> create(Class<T> c, Habitat habitat, Map<String,List<String>> metadata)
Inhabitants
instead.
Inhabitant
by looking at annotations of the given type.
public static <T> Collection<String> getNamesFor(Inhabitant<T> i, String indexName)
Inhabitants
instead.
T
- contract type, optionali
- instance of inhabitant to obtain its registration nameindexName
- the contract name this service is implementing
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |