org.lightwolf
Class FlowLocal<T>

java.lang.Object
  extended by org.lightwolf.FlowLocal<T>

public class FlowLocal<T>
extends Object

An object that stores data associated with a Flow. This class is similar to Java's ThreadLocal, but it works for a flow, not a thread.

Author:
Fernando Colombo

Constructor Summary
FlowLocal()
           
 
Method Summary
 boolean equals(Object obj)
           
 T get()
           
 int hashCode()
           
protected  T initialValue()
           
 T remove()
           
 T set(T value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlowLocal

public FlowLocal()
Method Detail

hashCode

public final int hashCode()
Overrides:
hashCode in class Object

equals

public final boolean equals(Object obj)
Overrides:
equals in class Object

get

public T get()

set

public T set(T value)

remove

public T remove()

initialValue

protected T initialValue()