public class AppThreadGroup
extends java.lang.ThreadGroup
| Constructor and Description |
|---|
AppThreadGroup(java.lang.ThreadGroup parent,
java.lang.String name)
Creates new JavaAppThreadGroup
|
| Modifier and Type | Method and Description |
|---|---|
ApplicationInstance |
getApplication()
Returns the JNLP app for this thread group.
|
void |
setApplication(ApplicationInstance app)
Sets the JNLP app this group is for; can only be called once.
|
void |
uncaughtException(java.lang.Thread t,
java.lang.Throwable e)
Handle uncaught exceptions for the app.
|
activeCount, activeGroupCount, allowThreadSuspension, checkAccess, destroy, enumerate, enumerate, enumerate, enumerate, getMaxPriority, getName, getParent, interrupt, isDaemon, isDestroyed, list, parentOf, resume, setDaemon, setMaxPriority, stop, suspend, toStringpublic AppThreadGroup(java.lang.ThreadGroup parent,
java.lang.String name)
name - of the Apppublic void setApplication(ApplicationInstance app)
public ApplicationInstance getApplication()
public void uncaughtException(java.lang.Thread t,
java.lang.Throwable e)
uncaughtException in interface java.lang.Thread.UncaughtExceptionHandleruncaughtException in class java.lang.ThreadGroup