|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ix.util.context.ContextHoldingStrategy ix.util.context.GlobalHoldingStrategy
public class GlobalHoldingStrategy
A context-holding stategy that provides a single, global context-holder.
Field Summary | |
---|---|
(package private) ContextHolder |
globalContextHolder
|
Constructor Summary | |
---|---|
GlobalHoldingStrategy()
|
Method Summary | |
---|---|
void |
clearContexts()
Tells any ContextHolders it knows about to set their current context to the root context. |
ContextHolder |
getContextHolder()
Returns an appropriate context-holder. |
Methods inherited from class ix.util.context.ContextHoldingStrategy |
---|
setContextHolder |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
ContextHolder globalContextHolder
Constructor Detail |
---|
public GlobalHoldingStrategy()
Method Detail |
---|
public ContextHolder getContextHolder()
ContextHoldingStrategy
getContextHolder
in class ContextHoldingStrategy
public void clearContexts()
ContextHoldingStrategy
Context.clearContexts()
.
clearContexts
in class ContextHoldingStrategy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |