org.apache.commons.jelly.tags.threads
Class InterruptTag

java.lang.Object
  extended byorg.apache.commons.jelly.TagSupport
      extended byorg.apache.commons.jelly.tags.threads.UseThreadTag
          extended byorg.apache.commons.jelly.tags.threads.InterruptTag
All Implemented Interfaces:
org.apache.commons.jelly.Tag

public class InterruptTag
extends UseThreadTag

Interrupts a thread or thread group.

Author:
Jason Horman

Field Summary
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
InterruptTag()
           
 
Method Summary
protected  void useThread(java.lang.Thread thread, org.apache.commons.jelly.XMLOutput output)
          Interrupt one thread
protected  void useThreadGroup(java.util.List threadGroup, org.apache.commons.jelly.XMLOutput output)
          Interrupt all of the threads in a group
 
Methods inherited from class org.apache.commons.jelly.tags.threads.UseThreadTag
doTag, getThread, getThreadGroup, setSearchForParentThread, setThread, setThreadGroup
 
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

InterruptTag

public InterruptTag()
Method Detail

useThread

protected void useThread(java.lang.Thread thread,
                         org.apache.commons.jelly.XMLOutput output)
Interrupt one thread

Specified by:
useThread in class UseThreadTag

useThreadGroup

protected void useThreadGroup(java.util.List threadGroup,
                              org.apache.commons.jelly.XMLOutput output)
Interrupt all of the threads in a group

Specified by:
useThreadGroup in class UseThreadTag


Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.