ix.util.context
Class PlainContextHolder

java.lang.Object
  |
  +--ix.util.context.BasicContextHolder
        |
        +--ix.util.context.PlainContextHolder
All Implemented Interfaces:
ContextHolder

public final class PlainContextHolder
extends BasicContextHolder

A "final" version of BasicContextHolder.


Fields inherited from class ix.util.context.BasicContextHolder
context
 
Constructor Summary
PlainContextHolder()
           
PlainContextHolder(Context c)
           
 
Method Summary
 Context getContext()
          Returns the context currently stored in the holder.
 void setContext(Context c)
          Changes the context currently stored in the holder.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlainContextHolder

public PlainContextHolder()

PlainContextHolder

public PlainContextHolder(Context c)
Method Detail

getContext

public final Context getContext()
Description copied from interface: ContextHolder
Returns the context currently stored in the holder.
Overrides:
getContext in class BasicContextHolder

setContext

public final void setContext(Context c)
Description copied from interface: ContextHolder
Changes the context currently stored in the holder.
Overrides:
setContext in class BasicContextHolder