ix.util.context
Class ContextValue<T>

java.lang.Object
  extended by ix.util.context.ContextValue<T>
Direct Known Subclasses:
TypedContextValue

public class ContextValue<T>
extends java.lang.Object

An object that contains a single context-dependent value.


Field Summary
protected  ContextHolder holder
           
protected  ContextLink link
           
 
Constructor Summary
ContextValue(ContextHolder holder, T rootValue)
           
ContextValue(T rootValue)
           
 
Method Summary
 T get()
           
 void set(T new_value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

holder

protected ContextHolder holder

link

protected ContextLink link
Constructor Detail

ContextValue

public ContextValue(T rootValue)

ContextValue

public ContextValue(ContextHolder holder,
                    T rootValue)
Method Detail

get

public T get()

set

public void set(T new_value)