|
|||||||||
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.threads.UseMutexTag
org.apache.commons.jelly.tags.threads.NotifyTag
public class NotifyTag
This calls mutex.notify() or mutex.notifyAll() on the mutex passed in via the "mutex" attribute.
Field Summary | |
---|---|
private boolean |
notifyAll
True means mutex.notifyAll() will be called |
Fields inherited from class org.apache.commons.jelly.TagSupport |
---|
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
---|---|
NotifyTag()
|
Method Summary | |
---|---|
void |
setNotifyAll(boolean notifyAll)
If set to true the notify will notify all waiting threads |
void |
useMutex(java.lang.Object mutex,
org.apache.commons.jelly.XMLOutput output)
Perform the notify |
Methods inherited from class org.apache.commons.jelly.tags.threads.UseMutexTag |
---|
doTag, getMutex, setMutex |
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 boolean notifyAll
Constructor Detail |
---|
public NotifyTag()
Method Detail |
---|
public void useMutex(java.lang.Object mutex, org.apache.commons.jelly.XMLOutput output)
useMutex
in class UseMutexTag
public void setNotifyAll(boolean notifyAll)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |