|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.hk2.classmodel.reflect.impl.TypesCtr
public class TypesCtr
contains all the parsed types references.
| Nested Class Summary | |
|---|---|
static interface |
TypesCtr.ProxyTask
|
| Constructor Summary | |
|---|---|
TypesCtr()
|
|
| Method Summary | ||
|---|---|---|
void |
clearNonVisitedEntries()
|
|
Collection<Type> |
getAllTypes()
Returns a unmodifiable list of collected types obtained during the parsing activity |
|
|
getBy(Class<T> type,
String name)
Returns a Model instance given a name |
|
Type |
getBy(String name)
Returns a Type instance given a name |
|
TypeProxy<Type> |
getHolder(String name)
|
|
|
getHolder(String name,
Class<T> type)
|
|
void |
onNotVisitedEntries(TypesCtr.ProxyTask proxyTask)
Runs a task on each non visited types parsing discovered. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TypesCtr()
| Method Detail |
|---|
public Type getBy(String name)
Types
getBy in interface Typesname - the requested type name
public <T extends Type> T getBy(Class<T> type,
String name)
Types
getBy in interface Typestype - type of the requested model (see ExtensibleType derivatives)name - the requested type name
public TypeProxy<Type> getHolder(String name)
public <T extends Type> TypeProxy<Type> getHolder(String name,
Class<T> type)
public void onNotVisitedEntries(TypesCtr.ProxyTask proxyTask)
proxyTask - the task to run on each non visited type.public void clearNonVisitedEntries()
public Collection<Type> getAllTypes()
Types
getAllTypes in interface Types
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||