netx.jnlp.runtime
Class AppThreadGroup

java.lang.Object
  |
  +--java.lang.ThreadGroup
        |
        +--netx.jnlp.runtime.AppThreadGroup

public class AppThreadGroup
extends java.lang.ThreadGroup

Thread group for a JNLP application.

Version:
$Revision: 1.4 $
Author:
Jon A. Maxwell (JAM) - initial author

Constructor Summary
AppThreadGroup(java.lang.ThreadGroup parent, java.lang.String name)
          Creates new JavaAppThreadGroup
 
Method Summary
 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.
 
Methods inherited from class java.lang.ThreadGroup
activeCount, activeGroupCount, allowThreadSuspension, checkAccess, destroy, enumerate, enumerate, enumerate, enumerate, getMaxPriority, getName, getParent, interrupt, isDaemon, isDestroyed, list, parentOf, resume, setDaemon, setMaxPriority, stop, suspend, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AppThreadGroup

public AppThreadGroup(java.lang.ThreadGroup parent,
                      java.lang.String name)
Creates new JavaAppThreadGroup
Parameters:
name - of the App
Method Detail

setApplication

public void setApplication(ApplicationInstance app)
Sets the JNLP app this group is for; can only be called once.

getApplication

public ApplicationInstance getApplication()
Returns the JNLP app for this thread group.

uncaughtException

public void uncaughtException(java.lang.Thread t,
                              java.lang.Throwable e)
Handle uncaught exceptions for the app.
Overrides:
uncaughtException in class java.lang.ThreadGroup