|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.jelly.TagSupport org.apache.commons.jelly.tags.threads.GroupTag
Represents a group of threads. This is not the same as Java's thread groups. All of the threads in a thread group are started at the same time, not as they are defined. Use this in conjunction with other tags like join to manipulate a group of threads.
Field Summary |
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
GroupTag()
|
Method Summary | |
void |
addThread(java.lang.Thread thread)
Add a thread to the thread group list |
void |
doTag(org.apache.commons.jelly.XMLOutput output)
Child threads will add themselves and will then all be started together |
java.util.List |
getThreads()
Get the list of threads in this thread group |
void |
setVar(java.lang.String var)
Set the variable name to store the thread group in |
Methods inherited from class org.apache.commons.jelly.TagSupport |
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GroupTag()
Method Detail |
public void doTag(org.apache.commons.jelly.XMLOutput output) throws org.apache.commons.jelly.JellyTagException
org.apache.commons.jelly.JellyTagException
public void addThread(java.lang.Thread thread)
public java.util.List getThreads()
public void setVar(java.lang.String var)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |