| Modifier and Type | Field and Description |
|---|---|
protected ConcurrentLinkedHashSet<Module> |
modules |
| Constructor and Description |
|---|
ContextImpl(Module... modules) |
| Modifier and Type | Method and Description |
|---|---|
Context |
add(Module module) |
Context |
addFirst(Module module) |
Iterable<Module> |
children() |
void |
debug() |
<T> T |
get(Class<T> type) |
<T> T |
get(Class<T> type,
String name) |
Object |
get(String name) |
<T> Supplier<T> |
getSupplier(Class<T> type) |
<T> Supplier<T> |
getSupplier(Class<T> type,
String name) |
boolean |
has(Class type) |
boolean |
has(String name) |
Iterable<String> |
names() |
Context |
remove(Module module) |
void |
resolveProperties(Object object) |
void |
setName(String name) |
void |
setParent(Context context) |
String |
toString() |
Iterable<Class<?>> |
types() |
Iterable<Object> |
values() |
protected ConcurrentLinkedHashSet<Module> modules
public ContextImpl(Module... modules)
public void setName(String name)
public <T> Supplier<T> getSupplier(Class<T> type, String name)
getSupplier in interface Modulepublic <T> Supplier<T> getSupplier(Class<T> type)
getSupplier in interface Modulepublic void resolveProperties(Object object)
resolveProperties in interface ContextCopyright © 2014. All rights reserved.