|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ContextHolder | |
| ix.util.context | Context-layering mechanism. |
| Uses of ContextHolder in ix.util.context |
| Classes in ix.util.context that implement ContextHolder | |
class |
BasicContextHolder
A simple object that contains a Context. |
class |
PlainContextHolder
A "final" version of BasicContextHolder. |
| Fields in ix.util.context declared as ContextHolder | |
(package private) ContextHolder |
ContextValue.holder
|
(package private) ContextHolder |
GlobalHoldingStrategy.globalContextHolder
|
| Methods in ix.util.context that return ContextHolder | |
abstract ContextHolder |
ContextHoldingStrategy.getContextHolder()
Returns an appropriate context-holder. |
ContextHolder |
GlobalHoldingStrategy.getContextHolder()
|
ContextHolder |
ThreadLocalHoldingStrategy.getContextHolder()
|
static ContextHolder |
Context.getContextHolder()
Returns the context-holder provided by the current context-holding strategy. |
ContextHolder |
InheritableThreadLocalHoldingStrategy.getContextHolder()
|
| Methods in ix.util.context with parameters of type ContextHolder | |
void |
ContextHoldingStrategy.setContextHolder(ContextHolder h)
Changes the context-holder that would be returned, if that makes sense. |
void |
ThreadLocalHoldingStrategy.setContextHolder(ContextHolder h)
|
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. |
static void |
Context.pushContext(ContextHolder h)
Moves the specified context-holder to a new child of its current context. |
static Context |
Context.popContext(ContextHolder h)
Moves the specified context-holder to the parent of its current context. |
void |
InheritableThreadLocalHoldingStrategy.setContextHolder(ContextHolder h)
|
| Constructors in ix.util.context with parameters of type ContextHolder | |
ContextValue(ContextHolder holder,
java.lang.Object value)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||