|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectix.util.context.SynchronizedContextHolder
public class SynchronizedContextHolder
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 |
|---|
protected Context context
| Constructor Detail |
|---|
public SynchronizedContextHolder()
public SynchronizedContextHolder(Context c)
| Method Detail |
|---|
public Context getContext()
ContextHolder
getContext in interface ContextHolderpublic void setContext(Context c)
ContextHolder
setContext in interface ContextHolder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||