|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.jelly.TagSupport
org.apache.commons.jelly.tags.core.ThreadTag
public class ThreadTag
A tag that spawns the contained script in a separate thread
| Field Summary | |
|---|---|
private boolean |
closeOutput
Should we close the underlying output |
private static org.apache.commons.logging.Log |
log
The Log to which logging calls will be made. |
private java.lang.String |
name
Thread Name |
private XMLOutput |
xmlOutput
the destination of output |
| Fields inherited from class org.apache.commons.jelly.TagSupport |
|---|
body, context, hasTrimmed, parent, shouldTrim |
| Constructor Summary | |
|---|---|
ThreadTag()
|
|
| Method Summary | |
|---|---|
void |
doTag(XMLOutput output)
Evaluates this tag after all the tags properties have been initialized. |
void |
setFile(java.lang.String name)
Set the file which is generated from the output |
void |
setName(java.lang.String name)
Sets the name of the thread. |
void |
setXmlOutput(XMLOutput xmlOutput)
Sets the destination of output |
| 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 |
| Field Detail |
|---|
private java.lang.String name
private XMLOutput xmlOutput
private boolean closeOutput
private static final org.apache.commons.logging.Log log
| Constructor Detail |
|---|
public ThreadTag()
| Method Detail |
|---|
public void doTag(XMLOutput output)
throws JellyTagException
Tag
JellyTagExceptionpublic void setName(java.lang.String name)
name - The name to setpublic void setXmlOutput(XMLOutput xmlOutput)
public void setFile(java.lang.String name)
throws java.io.IOException
name - The output file name
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||