public class ERXCloneableThreadLocal
extends java.lang.InheritableThreadLocal
ERXClonableThreadLocal extends InheritableThreadLocal
to bequeath a cloned copy of the parent object to the child thread.
Note: Objects used with this thread local must implement the Cloneable
interface and have a public clone method.
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.log4j.Logger |
log
logging support
|
| Constructor and Description |
|---|
ERXCloneableThreadLocal() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
childValue(java.lang.Object parentValue)
Clones a copy of the parent object for the child thread.
|
protected java.lang.Object childValue(java.lang.Object parentValue)
Cloneable
interface and have a public clone method.childValue in class java.lang.InheritableThreadLocalparentValue - local object to the parent thread.Copyright © 2002 – 2022 Project Wonder.