ca.quine.jcommons.transform
Class ThreadProperties

java.lang.Object
  |
  +--ca.quine.jcommons.transform.ThreadProperties

public class ThreadProperties
extends Object

Provides a non-type safe generic way of setting and accessing thread specific properties for transforms. Users are not required to use this class for such properties, but those wishing to write transforms that can easily be reused should strongly consider it.

If type safety is required, the author recommends creating a Utility class that is similar in nature to this one that is more specific to the task at hand. Also see the recommendations given in the documentation for GlobalProperties.

See Also:
GlobalProperties

Method Summary
static Object getProperty(Object key)
           
static Object removeProperty(Object key)
           
static void setProperty(Object key, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setProperty

public static void setProperty(Object key,
                               Object value)

getProperty

public static Object getProperty(Object key)

removeProperty

public static Object removeProperty(Object key)