|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Context
Execution context.
| Field Summary | |
|---|---|
static Context |
INSTANCE
Context constructed from all available context services. |
| Method Summary | ||
|---|---|---|
|
lookup(Class<T> serviceClass)
Looks up single object (service) by type. |
|
Object |
lookup(String name)
Looks up object by name. |
|
|
lookupAll(Class<T> serviceClass)
Looks up all services of given type. |
|
| Field Detail |
|---|
static final Context INSTANCE
| Method Detail |
|---|
Object lookup(String name)
name - Object name.
<T> T lookup(Class<T> serviceClass)
T - Service type.serviceClass - Requested service type.
<T> Iterator<T> lookupAll(Class<T> serviceClass)
T - Service type.serviceClass - Requested service type.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||