private static class TransactionManager.ContextContainer extends ContextLocal<TransactionManager.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 TransactionManager.WorkArea |
initialValue()
Return
null rather than providing a true initial value;
initial value is instead lazily created in obtain(). |
TransactionManager.WorkArea |
obtain()
Obtains the context-local instance of the contained global work
area.
|
cleanup, clearInstance, dumpDependencies, get, get, isResetAllowed, set, setDebugequals, hashCodepublic WeightFactor getWeight()
getWeight in interface WeightedTokengetWeight in class ContextLocal<TransactionManager.WorkArea>WeightFactor.LEVEL_4.public TransactionManager.WorkArea obtain()
WorkArea instance is lazily created.protected final TransactionManager.WorkArea initialValue()
null rather than providing a true initial value;
initial value is instead lazily created in obtain().initialValue in class ContextLocal<TransactionManager.WorkArea>null.