ix.util.context
Class PlainContextHolder

java.lang.Object
  extended by ix.util.context.BasicContextHolder
      extended by ix.util.context.PlainContextHolder
All Implemented Interfaces:
ContextHolder

public final class PlainContextHolder
extends BasicContextHolder

A "final" version of BasicContextHolder.


Field Summary
 
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.

Specified by:
getContext in interface ContextHolder
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.

Specified by:
setContext in interface ContextHolder
Overrides:
setContext in class BasicContextHolder