Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD