private static class ErrorManager.ContextContainer extends ContextLocal<ErrorManager.WorkArea>
HEADLESS_KEY
Modifier | Constructor and Description |
---|---|
private |
ContextContainer() |
Modifier and Type | Method and Description |
---|---|
WeightFactor |
getWeight()
Get the weight of this context-local var.
|
protected ErrorManager.WorkArea |
initialValue()
Initializes the work area, the first time it is requested within a
new context.
|
ErrorManager.WorkArea |
obtain()
Obtains the context-local instance of the contained global work
area.
|
cleanup, clearInstance, dumpDependencies, get, get, isResetAllowed, set, setDebug
equals, hashCode
public WeightFactor getWeight()
getWeight
in interface WeightedToken
getWeight
in class ContextLocal<ErrorManager.WorkArea>
WeightFactor.LAST
.public ErrorManager.WorkArea obtain()
protected ErrorManager.WorkArea initialValue()
initialValue
in class ContextLocal<ErrorManager.WorkArea>