|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.logicblaze.lingo.ClientContextHolder
public class ClientContextHolder
Client context holder. Calling getUserName()
on the server wll return the invoking clients
username if provided or null if not provided.
Constructor Summary | |
---|---|
ClientContextHolder()
|
Method Summary | |
---|---|
static ClientContext |
getContext()
Obtains the ClientContext associated with the current thread of execution. |
static java.lang.String |
getUserName()
|
static void |
setContext(ClientContext context)
Associates a new ClientContext with the current thread of execution. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClientContextHolder()
Method Detail |
---|
public static void setContext(ClientContext context)
public static ClientContext getContext()
ClientContext
associated with the current thread of execution.
public static java.lang.String getUserName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |