ERXCloneableThreadLocal Class Reference

Inherited by ERXThreadStorage.ERXThreadStorageCloneableThreadLocal.

Collaboration diagram for ERXCloneableThreadLocal:

Collaboration graph
[legend]

List of all members.

Protected Member Functions

Object childValue (Object parentValue)

Static Protected Attributes

static final Logger log = Logger.getLogger(ERXCloneableThreadLocal.class)


Detailed Description

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.

Member Function Documentation

Object childValue ( Object  parentValue  )  [protected]

Clones a copy of the parent object for the child thread. The parentValue must implement the Cloneable interface and have a public clone method.

Parameters:
parentValue local object to the parent thread.
Returns:
a cloned value of the parent if not null.

Reimplemented in ERXThreadStorage.ERXThreadStorageCloneableThreadLocal.


Member Data Documentation

final Logger log = Logger.getLogger(ERXCloneableThreadLocal.class) [static, protected]

logging support


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:07 2012 for Project Wonder by  doxygen 1.5.8