|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The TaskNameManager is the programmatic interface to the AppProfile function. Via this interface, programmers may set the current task name on the thread of execution. The task name must have been configured in the deployment descriptors as a task reference with associated with a task. The set task name's scope will be the duration of the method invocation in the ejb and web components and for the duration of the client process, or until the resetTaskName method is invoked.
Method Summary | |
---|---|
void |
resetTaskName()
Sets the thread's task name to the value that was set at or imported into the beginning of the method invocation (for ejb and web components) or process (for J2EE clients). |
void |
setTaskName(java.lang.String taskName)
Set the thread's current task name to the specified parameter. |
Method Detail |
public void setTaskName(java.lang.String taskName) throws IllegalTaskNameException
taskName
- Not null String that must have been properly linked in the deployment descriptors.
IllegalTaskNameException
- Thrown if the task name is null or not declared properly in the deployment descriptor.public void resetTaskName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |