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 SynchronizedContextHolder

    java.lang.Object
      ix.util.context.SynchronizedContextHolder

All Implemented Interfaces:
  ContextHolder

    public class SynchronizedContextHolder

extends java.lang.Object
implements ContextHolder

A simple, synchronized object that contains a Context.

Field Summary
`protected Context` | `context`

Constructor Summary
`SynchronizedContextHolder()`
`SynchronizedContextHolder(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`

Field Detail

### context

    protected Context context

Constructor Detail

### SynchronizedContextHolder

    public SynchronizedContextHolder()

### SynchronizedContextHolder

    public SynchronizedContextHolder(Context c)

Method Detail

### getContext

    public Context getContext()

  Description copied from interface: `ContextHolder`
  Returns the context currently stored in the holder.

  Specified by:
    `getContext` in interface `ContextHolder`

### setContext

    public void setContext(Context c)

  Description copied from interface: `ContextHolder`
  Changes the context currently stored in the holder.

  Specified by:
    `setContext` in interface `ContextHolder`

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