|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Context | |
ix.util.context | Context-layering mechanism. |
Uses of Context in ix.util.context |
Fields in ix.util.context declared as Context | |
static Context |
Context.rootContext
A context that is an ancestor of all others. |
(package private) Context |
Context.parent
This context's parent context. |
protected Context |
BasicContextHolder.context
|
Methods in ix.util.context that return Context | |
Context |
ContextHolder.getContext()
Returns the context currently stored in the holder. |
Context |
Context.getParent()
Returns this context's parent context. |
static Context |
Context.getContext(long n)
Returns the context that has the indicated number, or null if that context has been discarded or has ceased to exist. |
static Context |
Context.popContext(ContextHolder h)
Moves the specified context-holder to the parent of its current context. |
Context |
BasicContextHolder.getContext()
|
Context |
PlainContextHolder.getContext()
|
Methods in ix.util.context with parameters of type Context | |
void |
ContextHolder.setContext(Context c)
Changes the context currently stored in the holder. |
static java.lang.Object |
Context.getInContext(ContextLink cl,
Context c)
Searches a chain of ContextLinks to find the value associated with a given context. |
static void |
Context.setInContext(ContextLink cl,
Context c,
java.lang.Object value)
Modifies a chain of ContextLinks to associate a value directly with a given context. |
static void |
Context.inContext(ContextHolder h,
Context c,
java.lang.Runnable r)
Temporarily changes a context-holder's current context around a call to a Runnable's run() method. |
void |
BasicContextHolder.setContext(Context c)
|
void |
PlainContextHolder.setContext(Context c)
|
Constructors in ix.util.context with parameters of type Context | |
ContextLink(Context context,
java.lang.Object value)
Creates a link that specifies a value for a given context. |
|
ContextLink(Context context,
java.lang.Object value,
ContextLink next)
Constructs a new link at the head of a chain. |
|
Context(Context parent)
Create a context with a given parent. |
|
BasicContextHolder(Context c)
|
|
PlainContextHolder(Context c)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |