|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.dsrg.sofa.SOFAThreadHelper
public abstract class SOFAThreadHelper
This class contains only static methods and fields. ThreadHelper is used to keep track of thread in non-offending matter.
It stores per thread information about CallContext and MIInComponent interface if present.
Constructor Summary | |
---|---|
SOFAThreadHelper()
|
Method Summary | |
---|---|
static java.lang.String |
getCallContext()
Gets call context string of the current thread. |
static MIInComponent |
getInComponent()
Gets reference to the MIInComponent control interface. |
static void |
init(java.lang.String dockName)
Initialises the ThreadHelper class. |
static void |
setCallContext(java.lang.String context)
Sets call context of the current thread to the given string. |
static void |
setInComponent(MIInComponent iface)
Sets reference to the MIInComponent control interface. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SOFAThreadHelper()
Method Detail |
---|
public static void init(java.lang.String dockName)
public static void setCallContext(java.lang.String context)
context
- String to be used as new call context for current
thread.public static java.lang.String getCallContext()
public static void setInComponent(MIInComponent iface)
iface
- Reference to the MIInComponent control interface.public static MIInComponent getInComponent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |