|
eXo Kernel :: Container 2.5.0-GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ContextManager
The entry point to a Context
| Method Summary | ||
|---|---|---|
|
addContext(AdvancedContext<K> ctx)
Registers a context |
|
|
getContext(Class<? extends Annotation> scope)
Gives the context corresponding to the given scope |
|
boolean |
hasContext(Class<? extends Annotation> scope)
Indicates whether or not a context has a been registered for the given scope |
|
| Method Detail |
|---|
<K> AdvancedContext<K> getContext(Class<? extends Annotation> scope)
scope - the annotation class corresponding to the scope
Context corresponding to the given scopeboolean hasContext(Class<? extends Annotation> scope)
scope - the scope of the context
true if it exists a context for the given scope, false otherwise<K> void addContext(AdvancedContext<K> ctx)
ctx - the Context to register
|
eXo Kernel :: Container 2.5.0-GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||